The product and the division have priority to the sum or substraction.
Therefore, you do the multiplication a*a first, and then you "substract" it (multiplying by (-1) is just like substracting to 0).
So yeah, it'd be -(a²).
If it had been (-a)², it would yield (-a)*(-a), which is a²
I hope this is clear enough..