Heres the problem:

Suppose that A is a point not on the plane determined by the three points P,Q, and R. Calculate in two ways the volume of the pyramid APQR to show that the perpendicular distance from A to this plane is:

d = | AP dot product (AQ X AR)| divided by |PQ X PR|