Explanation:
let p be the point which is at a distance of 4 units from the x-axis and at a distance of 5 units from the y axis
(i) When P lies in the first quadrant then the coordinates of P are (5,4).
(ii) When of P lies in the second quadrant then the coordinates of P are (-5,4).
(iii) When P lies in the third quadrant then the coordinates of P are (-5,-4).
(iv) When P lies in the fourth quadrant then the coordinates of P are (5,-4).
Hope it helps you!!