Steps of construction:
(i) With M as centre and a convenient radius, draw an arc intersecting the line AB at two points C and B.
(ii) With C and D as centres and a radius greater than MC, draw two arcs, which cut each other at P.
(iii) Join PM. Then PM is perpendicular to AB through the point M.