Could someone help and explain the way to get the answer?

Answer:
Electrons: 10
Protons: 8
Explanation:
The atomic mass of oxygen is just naturally 8 and we assume the electron is neural unless stated otherwise but since it gained two electrons the electrons have 2 more which means 10