PDF chapter test TRY NOW

Find the equation of a line passing through the midpoint of a line segment joining the points (1,-5), (4,2) and parallel to
 
(i) x axis
(ii) y axis