The electric field is not properly given neither the figure is
shown in the problem but still i will solve the problem assuming
the following figure as shown below:

i have assumed this figure,
you have the correct figure just do accordingly by following the
above steps