Let $\pi_1:x+y-z=1$ and $\pi_2: x-y+z=5$, and line $p: (1,0,0)+\lambda(1,1,1)$. Find all points on $p$ equidistant from both planes.
I forgot how to solve these problems but my idea is that we substitute line $p$ in both of the planes? Can someone help me?
HINT: the Hessian Normalform of your two planes are given by $$\frac{x+y-z-1}{\pm \sqrt{3}}=0$$ and $$\frac{x-y+z-5}{\pm\sqrt{3}}=0$$ then we get $$\left|\frac{x_g+y_g-z_g-1}{\sqrt{3}}\right|=d$$ and $$\left|\frac{x_g-y_g+z_g-5}{\sqrt{3}}\right|=d$$ where $$x_g=1+\lambda,y_g=\lambda,z_g=\lambda$$