It is given that the point C(–1, 2) divides the line segment joining the points A(2, 5) and B(x, y) in the ratio 3 : 4 internally.
Using the section formula, we get
⇒ 3x + 8 = –7 and 3y + 20 = 14
⇒ 3x = –15 and 3y = –6
⇒ x = –5 and y = –2
∴ x2 + y2 = 25 + 4 = 29
Hence, the value of x2 + y2 is 29.