The distance between two elements is the true length of the shortest segment joining them. In dihedral: first build the segment, then put it in true length.
We have point P and the horizontal plane α at height 2. We look for the shortest distance: the perpendicular from P to the plane.
Line r is horizontal (constant height): it is seen in true length in the plan. Point P is outside it.
Tip: if the plane or the line are projecting, the distance is seen directly in the view where they look edge-on. You only need to construct it when they are not.
Besides point to plane and point to line, the exam asks for:
If neither the plane nor the line is projecting, the perpendicular does not appear in true length in any view: you must measure the segment with a rotation or a change of plane. That is the step most often forgotten in exams.