Question

in the solution how do i know the electron moves in the direction opposite of electric field?

enter image description here