The first one is, since lewis structures are electronic configurations, we only move electrons and we never move any atoms. Now, notice what this arrow represents. This arrow is known as arrow formulasm. A double headed arrow simply means two electrons are being moved. So in this case, I have two electrons moving from my pi bond, and they move on to one of the orbitals on the oxygen. And now I no longer have this because these electrons have moved here.