Wasnt it mentioned in gregs prepswift video that if exponents dont have brackets we cant just multiply them, like if it is 2^2^2^2 we have to do 2^16 instead of 2^8, so in this question how is greg just multiplying the exponents without brackets??

Not sure how you got that?