Hint
Drop perpendiculars from P to the sides of the polygon, and compare the right triangles that are formed. What relationship do you see between these right triangles? Use that relationship to construct a logical explanation (proof), given that the results hold for perpendiculars from P to the sides, e.g. see