The function is
.
Consider moving point as
.
The distance between two points is
.
Consider
is the distance between the origin
and the point
.


.
Substitute
in the above expression.

Distance between the origin
and point
is
.
.
Apply derivative on each side with respect to
.


.
Substitute
in above expression.

The rate of change of distance is
.
The rate of change of distance is
.
.