Thanks a lot, it does help. In regard to this method, what happens if your subtracted value is odd? For example how do you predict the shape of NO2? I once had a question on a practice asking us to identify the structure of N2H4. I had picked the answer with a triple bond between the N's because thats how the valence electrons would've worked out, but I found out N needs to have 3 bonds and a lone pair. Is this just a rule I need to know for N?
For N2H4, first think to yourself, how many valence electrons does N have? I always think back carbon has 4, nitrogen is to the right of it, so it's got 5 (and oxygen has 6, fluorine has 7, and so on).
We know H can only really form one bond with anything.
So, basically we're just going to have N-N bonding and N-H bonding (no H-H bonding). Okay, that was a no-brainer, but that's just the thought process you want to go through.
Okay, so next Q is- how many Hs are bonded to each N?
Consider H3N-NH. Is this plausible? The N with 3 Hs attached is going to carry a + charge. An easy way to figure that out really quickly is to see how many sigma bonds (i.e. single bonds) it has, then count 1 electron from each bond. So, that N has 4 electrons. It usually likes to have 5 electrons to be neutral (here's where the periodic table comes in, if you're ever unsure). Take 5-4=1, so we see N has a +1 charge.
The other N with only 1 H attached is dreadfully unhappy. We know N2H4 is a neutral compound, but one of the Ns as we just discussed is +1, so we know the other N is carrying a -1. But to figure it out from figuring out the formal charge, this N has one single bond to H, one single bond to N, and importantly, two lone pairs. So to figure out the charge on it, we count one electron from each single bond, and we count lone pairs as 2 electrons (which is exactly what a lone pair is). Therefore, we get 6 electrons" belonging to that nitrogen, and we know nitrogen likes to have 5, so that means it's got an overall charge of 5-6=-1.
This is a pretty sh~tty resonance structure.
It's got separation of charge, it's unstable, it's not going to be a major resonance contributor.
Skipping forwards a bunch of steps. Consider H2N-NH2. This is hydrazine! It makes sense structurally as each nitrogen "owns" 5 electrons (each nitrogen has 3 single bonds and 1 lone pair, so we count 1 electron from each single bond, and we count the 2 electrons of the lone pair). This is exactly what nitrogen wants, so it's happy and neutral and stable.
Basically, you just draw out possibilities, then try them out. But first of all, make sure they are *valid* resonance structures!
For ex, the two nitrogens can't possibly be triple bonded together, and still have a molecular formula of N2H4. This would require each N to have 5 bonds: 3 as part of a triple bond to the other N, and 2 bonded to H. Remember the Octet Rule: we want each atom to have 8 electrons total for all its bonds. (Exceptions are big atoms like sulfur that can do the expanded octet thing).
Anyway, I just realized that was a way too long explanation and really this is all just about knowing how to draw Lewis dot structures, understanding formal charge, etc. If you can draw correct structures, then it's just a matter of deciding which of the *valid* structures is most stable. But if you haven't gotten to the point where you're drawing *valid* structures even, then it's really not a matter of memorizing "facts" like "nitrogen has 3 bonds" or whatever. Make sure you can eliminate structures that are unfeasible.