2. (10%) Find the dimension of the space spanned by the three given vectors: $x^2, x^2 - x - 1$, and x + 1.