This is just notation. It is a typical convention that $\Delta x^2 = (\Delta x)^2$.
You are right that it seems ambiguous, but it is consistent in the calculus literature that I have seen that whenever they write $\Delta x^2$, they mean $(\Delta x)^2$.