1. Calculate the slope of RS:

2. Calculate the slope of the perpendicular direction to :

3. Calculate the coordinates of the midpoint of RS:

4. Calculate the equation through M perpendicular to RS:

...... Solve for y:

5. Plug in the coordinates of P into the last equation: