If a point lies on the line segment joining the points A(2,3) and B(4,5), then the distance of point P(r,t) from the origin is equal to ________.