Answer:
The configurations are illustrated below.
Explanation:
Hydrogen possesses a single electron in its outer shell, carbon has 4, nitrogen has 5, and oxygen holds 6. To achieve an octet (or duet for hydrogen), they require 1, 4, 3, and 2 electrons respectively.
Therefore, each hydrogen atom will share one electron with carbon, while the remaining electron will be shared with nitrogen, maintaining 4 electrons available for sharing. Carbon can form two bonds with both oxygen atoms, expanding its octet; however, this renders it unstable, leading to the formation of resonance structures (redistribution of electrons), and charge formation. One of the oxygen atoms will share only one electron with nitrogen.
The two structures are depicted below.