SO2 Formal charge, How to calculate it with images?

SO2 Formal charge, How to calculate it with images?