solve 3x^2+x+1=0