...that's...not how exponents work
The result is right, they wrote the parentheses in the wrong spot, don't be so shocked.