The oxygen would receive electrons.
It is possible to know if an atom would receive or donate electrons through its valence layer. This because:
Oxygen has six electrons in the valence layer, which allows us to conclude that it needs to receive two electrons to become stable and not donate any electrons.
You can get more information at the link below:
https://brainly.com/question/4954103?referrer=searchResults