Given: P is a point in first octant Q is image of P in plane x + y = 3 lies on z-axis midpoint of PQ lies in x + y = 3 plane. Therefore,
P ≡ (α, β, γ)
Q ≡ (0, 0, k)
The midpoint of PQ is (α/2, β/2, (γ + k)/2).
Since the midpoint satisfies x y + = 3, we get

Now, the distance of point P from x-axis is 5. Therefore,
