Derivation of the components of an Electric Force of a length of charge on a charge (YF 21.90)

Positive charge Q is distributed uniformly along the positive y-axis between y=0 and y=a. A negative charge -q lies on the positive x-axis, a distance x from the origin.21_90pic

Calculate the x and y components of the electric field produced by the charge distribution Q at points on the positive x-axis.