Write the equation of the given line in standard form y=ax+b:
The line containing the midpoints of the legs of a right triangle ABC where A (-5,5), B (1,1) and C (3,4) are the vertices.