If x=1+2y2+y and y=1+2t2+t, then x equals
When we divide 3t4+5t3−7t2+2t+2 by t2+3t+1, we get 3t2−4t+2 as quotient.