The precedences go like this:
parentheses > exponents > (multiplication = division) > (addition = substraction)
If you encounter operators with the same precedence (like multiplication and division) you go by the order they appear in the equation, left to right. That is how it works.











Yes, at least by the most common agreed on convention. Almost any mathematician, programming language, search engine or spreadsheet software will say it’s 9. It is for all intents and purposes the right answer.