The order of the operations

The second line of output shown in boldface in Figure 1 shows the default case where multiplication is performed before addition.

The third line of output in Figure 1 shows that using a pair of parentheses to group the multiplicative terms has no effect since it simply reinforces the default behavior.

The fourth line of output in Figure 1 shows that using a pair of parentheses to group the additive terms has a major effect on the output.  In this case, the expression inside the parentheses is evaluated first and the result of that evaluation (8) is multiplied by 6 producing a result of 48.