There are three vectors: $$a_1 = (-1, 1, 0, x)\\ a_2 = (2, -3, 1, 2)\\ a_3 = (1, -2, 1, -1)$$
How can I find the parameter x so that these vectors are linearly independent? I'm not quite sure how to approach this problem since there are three vectors in $\mathbb R^4$, so I can't calculate the determinant of the matrix. Any help will be appreciated!
When you don't know what to do in a problem, go back to the definitions. It might not be the fastest or easiest way to do it, but it can usually give you some insight.
Going back to the definition of linearly independent. The vectors $a_1,a_2,a_3$ are linearly independent if $c_1a_1+c_2a_2+c_3a_3 = (0,0,0,0)$ implies $c_1,c_2,c_3$ are zero, here $c_i$ are constants.
Just write down the expression, you will end up with a linear system on the variables $c_1,c_2,c_3$ (this system actually gives you a matrix to row-reduce, if you want it). Now, the $x$ given in the problem will appear too. You just have to work with it a bit and you will get to the solution.