Answer
Remove a H+ ion from the oxygen or nitrogen of each compound to get their conjugate bases. This leaves a negative charge on the oxygen or nitrogen.
Work Step by Step
For resonance forms, move the negative charge/electrons from the O or N to another electronegative atom (O atoms in this case).