If vector A is the normal vector of a plane, and point P is on the plane in rectangular coordinate system (it can be any point on the plane), then the distance from point A out of the plane to this plane is d= (vector AP* vector a)/| vector a|. (here | vector a| represents the modulus of vector a, that is, the length).
2. The distance from the straight line to the plane, that is, the straight line is parallel to the plane. You can find a point on a straight line (usually a special point) and then find the distance from that point to the plane.