What is the coordinate vector of p(x)=x2p(x) = x^2p(x)=x2 with respect to the basis B={1,1+x,1+x+x2}B = \{1, 1+x, 1+x+x^2\}B={1,1+x,1+x+x2}?
(0,−1,1)(0, -1, 1)(0,−1,1)
(1,−1,1)(1, -1, 1)(1,−1,1)
(0,0,1)(0, 0, 1)(0,0,1)
−1,0,1-1, 0, 1−1,0,1