3X^2+X-1
=3(X^2+2*1/6*X-1/3)
=3(X^2+2*1/6*X+1/36-1/36-1/3)
=3[(X+1/6)^2-13/36]
=3(X+1/6-√13/6)(X+1/6+√13/6)
=3[X+(1-√13)/6][X+(1+√13)/6].
3X^2+X-1
=3(X^2+2*1/6*X-1/3)
=3(X^2+2*1/6*X+1/36-1/36-1/3)
=3[(X+1/6)^2-13/36]
=3(X+1/6-√13/6)(X+1/6+√13/6)
=3[X+(1-√13)/6][X+(1+√13)/6].