What is the shortest distance between the point p(3,4) and the x-axis?
Refer the following link for the answer similar to your query :
https://www.meritnation.com/ask-answer/question/the-distance-of-the-points-p-2-3-from-the-x-axis-is/coordinate-geometry/6715072
https://www.meritnation.com/ask-answer/question/the-distance-of-the-points-p-2-3-from-the-x-axis-is/coordinate-geometry/6715072