The correct option is A give horizontal and vertical motion to the beam.
The electron-beam coming out of the electron gun needs to scan each element on the photo-conductive layer from top to bottom, so for scanning entire target electron beam is deflected by these magnetic deflecting coils.