Take the following example from musictheory.net. If we go by the "cheat" rule where you can take the last sharp, then go one half note up, it will tell us that the major key is A.
Next, if we use the "cheat" rule of counting down a minor 3rd to find the relative minor key, we get F. That's okay, but how do I know when the key name needs an accidental? I would have guessed F here, not F#.