Final answer:
According to the section formula, the value of y is 4.5
Step-by-step explanation:
To find the value of y, we need to use the concept of section formula. The point P(6,2) divides the line segment joining A(6,5) and B(4,y) in the ratio 3:1.
Let the coordinates of point P be (x,y). Using the section formula, we can find that x = (3 * 4 + 1 * 6) / (3 + 1) = (12 + 6) / 4 = 18 / 4 = 4.5.
Therefore, the value of y is 4.5.