text: what is 3 minus 4 times 6?   if there are parenthesis always do parenthesis first.  if no parenthesis multiplication and division always get done first and addition and subtraction next from left to right.    for example a+b*c = a+(b*c) which is like your example.  but a*b+c would be (a*b)+c  hope this helps.