To solve this problem always follow in order
first
P=Parentheses
do the computation on those who are in ( ) first may it be Multiply, divide, add or subtract,
then proceed to
E=Exponent
when all the ( ) are gone you do exponents
when there is no more exponents proceed to
M=Multiplication
D=Division
doing the division and multiplication before going to subtraction and addition.
A=Addition
S=subtraction