I assume that you know that

is the normal vector of the plane

is the position vector of any point of the plane

is the position vector of a fixed point which belongs to the plane.

To calculate the distance of a point from the plane you have to use Hesse's normal form of the plane:

If you plug in the position vector of C instead of you'll get the distance of C to the plane: