Draw a figure.
The due south line forms 2 right triangles with the line between Marie and Frank.
In Frank's triangle the angles are 8 and 82 degrees respectively.
In Marie's triangle the angles are 14 and 76 degrees respectively.
The law of sines gives M/sin 82 = 5/sin 22.
You solve it from here.