I used the Gram-Schmidt process to find the orthonormal basis for some hyperplane, $V$, in $\mathbb{R}^4$. The vectors are $$ u = \begin{bmatrix}1\\ 0\\ 0\\ 0\end{bmatrix}, v = \begin{bmatrix}1\\ 1\\ 1\\ 0\end{bmatrix}, w = \begin{bmatrix}1\\ 2\\ 0\\ 1\end{bmatrix} $$
I end up getting the basis $$ \begin{bmatrix}1\\ 0\\ 0\\ 0\end{bmatrix}, \begin{bmatrix}0\\ \frac{1}{\sqrt{2}}\\ \frac{1}{\sqrt{2}}\\ 0\end{bmatrix}, \begin{bmatrix}0\\ \frac{1}{\sqrt{3}}\\ \frac{-1}{\sqrt{3}}\\ \frac{1}{\sqrt{3}} \end{bmatrix} $$
The next part of the question is Calculate the distance from the point $p_0 = (1, 0, 1, 0)$ in $\mathbb{R}^4$ to $V$.
Since this is $\mathbb{R}^4$, I can no longer use the cross product, so I don't know where to go from here. Something about this tells me it should be rather easy.
First find all vectors $r$ orthogonal to $u,v,w.$ I found $r=r_2(0,1,-1,-2).$ Then consider the line orthogonal to $V$ passing through $p=(1,0,-1,0).$ Its points are parameterized by $r_2$ and have the form $p_{r_2}=(1,r_2,1-r_2,-2r_2).$ Next find $r_2=t$ such that $p_{t}$ belongs to $V$, that is find $a,b,c$ and $t$ such that $p_{t}=au+bv+cw.$ Solve this linear system with 4 equations and four unknown $a,b,c,t.$ Finally compute $\|p-p_t\|^2.$