if power is 1, print x instead of x^1