if 3x-1=11,what is the value of x^2+x