the electric field is parallel to y -axis. OP makes an angle θ with the x -axis then