I don't know understand what is BASIS in vector. I try to read it on the book but still..

I want to solve this question but I don't know how to begin with. Someone please help explain.

Finding a basis for the set of the function spanned by x^{2}-1, x^{2}+1, x, and x+1