Construct a circle around M with radius AB.
The problem can be solved easily, if you think of a parallelogram.
The solution is here.
Continue