The distance from the origin to a point at (x,y) is . Given that the point (3,2) is on the line that connects (3,2) to the origin, the equation of that line is y = (2/3)x. So the distance from the origin to any point on the line is . The rate at which 'r' changes is therefore equal to times the rate at which x changes. Is that what you're looking for?