The correct option is B The cell reactions are represented as A2+(aq)+2e−→A(s) and B(s)→B2+(aq)+2e−
For the given cell representation:
A(s)|A2+(aq)||B2+(aq)|B(s)
The vertical lines || indicate the salt bridge.
A (left side) is at anode so it oxidies, and it will be represented as an oxidation half reaction, whereas B (right side) is at cathode and it reduces so it is represented by reduction half reaction
The cell reactions are represented as
A(s)→A2+(aq)+2e−
and
B2+(aq)+2e−→B(s)