The point Q (4, -2, 3) is shown on the graph and the distance PQ required is indicated in pink:

distance 3D

Using the formula, we have:

distance PQ

= √[(x2x1)2 + (y2y1)2 + (z2z1)2]

= √[(2 − 4)2 + (3 − (-2))2 + (5 − 3)2]

= 5.74 units