You have to remember the rules of 'Order of Operation'. They are -
[blue]
1. Calculations must be done from left to right.
2. Calculations in brackets (parenthesis) are done
first. When you have more than one set of brackets,
do the inner brackets first.
3. Exponents (or radicals) must be done next.
4. Multiply and divide in the order the operations
occur.
5. Add and subtract in the order the operations occur.
[/blue]
In other words, the way your example is written will be calculated in the following way -
1) 3^3 = 27
2) 27/5 = 5.4
3) 5 + 5.4 = 10.4
If you wanted to add the 5 before dividing by 5, then the equation needed to look like this -
( 5 + ( 3^3 ) ) / 5
It just a matter of grouping what you want calculated first with ().