Organic Chemistry unshared electron pairs and formal charges

Organic Chemistry unshared electron pairs and formal charges

Draw all of the unshared electron lone pairs on the heteroatoms and assign appropriate formal charges to the functional groups present in the molecules below.

Can you please explain how you came your answer. I am having trouble making the jump between unshared elctron pairs and formal ch…