Find the distance of a point p(x,y) from the origin

's image