The slope of any line perpendicular to PQ will thus be 3. Now you have a point and a slope. The line perpendicular to PQ and passing through M is (y-3)/(x-5) = 3
You can ask a new question or answer this question.