at the point P(0,0.5m) you have both x ad y component of the electric field. For the particle q1 you have:
for the particle q2, it is necessary to compute the angle between the E vector and the axis, by using the distance y and x. Furthermore it is necessary to know the distance from q2 to the point P.