find the distance of a point P(x,y) from the origin

rayan hossain's image