How can i find the number of electrons are gained or lost

15. 1 were lost
16. 3 were gained
17. 2 were lost
18. 1 was gained
You can figure that out by looking at the number nest to the molecule with a plus or minus sign next to it
+ = gained
- = lost