If R (x, y) is a point on the line segment joining the points P (a, b) and Q (b, a) then prove that x + y = a +b.