If the x-coordinate of a point P on the join of Q(2, 2, 1) and R(5, 1, -2) is 4, then find its z-coordinate.
Let the point P be