Detailed description

Cartesian plane. Points P(x1, y1), Q(x2, y2), M(x, y) shown. Point (x, y1) is labelled S, point (x2, y) is labelled T. M is the midpoint of drawn segment PQ. Segments PS, SM, MT, and TQ are drawn dotted. Right angles marked at S and T.