Thanks in advance so I'm studying for my final which is tommorow night, I understand Lewis dot structures like the first picture: 
 
  
but I don't understand ones that look like this: 
 
So I guess what i'm looking for is how do you know which bonds are the carbon ones/nitrogen, and do the sides represent bonds as well ?