Treat x^2 and x*x as square(x)