coef(lm(y ~ poly(x, 2, raw=T)))