J.R. S. answered 04/11/20
Ph.D. University Professor with 10+ years Tutoring Experience
You didn't provide the "Figure shown", show it's difficult to know exactly what is shown.
In a Galvanic cell, electrons are generated at the anode. They travel to the cathode where reduction takes place.
Since Co2+ has a greater reduction potential than Zn2+, it will be reduced and thus in the figure, the Co(s) electrode is the cathode, and the anode is the Zn(s) electrode. Thus, X (which represents) Zn(s) would be the answer for where electrons are produced.