Let $\textsf{V}=\left\{ \begin{pmatrix} x_1\\x_2\\x_3\\x_4 \end{pmatrix} \in \mathbb{R}^4 :\, x_1=x_3+x_4 \textrm{ and } x_2=x_3-x_4 \right\}$. Find a basis for $\textsf V$ and for $\textsf{V}^\perp$.
My attempt : A basis for $\textsf V$ will be $(1, 0,-1 ,-1)$ and $(0,1,-1,1)$. And we know that $\dim (\textsf{V}^{\perp}) = \dim (\mathbb{R}^4) - \dim (\textsf V)= 4-2 =2$.
But I don't know how we can find the basis of $\textsf{V}^{\perp}$.
I'll do a similar one for you: Take the space $W=\left\{(x_1,x_2,x_3,x_4):x_1=3x_3, x_2=0, x_1=3x_4\right\}$.
Let us find a basis of $W^\perp$.
First, find a basis for $W$: The sole vector $w=(3,0,1,1)$ works. Note that $\langle w,w\rangle=3^2+0^2+1^2+1^2=11$
Now consider the first vector $e_1=(1,0,0,0)$ of the canonical basis of $\mathbb{R}^4$. The projection onto $W$ is $$p_W(e_1)=\frac{\langle e_1,w\rangle}{\langle w,w\rangle}w=\frac{3}{11}w$$ so the following vector is in $W^\perp$: \begin{align*} f_1&=e_1-p_W(e_1)\\ &=(1,0,0,0)-\frac{3}{11}\left(3,0,1,1\right)\\ &=(1,0,0,0)-\left(\frac{9}{11},0,\frac{3}{11},\frac{3}{11}\right)\\ &=\left(\frac{2}{11},0,-\frac{3}{11},-\frac{3}{11}\right) \end{align*}
Let's do the same for $e_2=(0,1,0,0)$: $$p_W(e_2)=\frac{0}{11}w=0$$ so I was lucky: $f_2=e_2-p_W(e_2)=e_2$ is in $W^\perp$.
Again, with $e_3=(0,0,1,0)$: $p_W(e_3)=\frac{1}{11}w$, so
$$f_3=e_3-\frac{1}{11}w=\left(-\frac{3}{11},0,\frac{10}{11},-\frac{1}{11},\right)$$
I'll leave it to you to verify that $\left\{f_1,f_2,f_3\right\}$ is LI, so it is a basis of $W^\perp$ (which has dimension $4-\dim W=4-1=3$).