I think this is the solution. I don't think you are supposed to use PEMDAS.
8.3m questions
11.0m answers