This question was asked in Ex 3.2, 5
Find the distance of a point p(x,y) from the origin

Nikhil N. K's image