How do you evaluate #[(8+5) (6-2) ^2] - (4*17div2)#?
Actually the square brackets in the first part aren't neccessary.
We first clear the brackets:
Then the powers:
Then the multiplications and divisions (two groups!):
Finally the adding and subtracting:
Note that all the brackets I put in the explanation are superfluous, they were just put there for clarity (what belongs together?).