Help I need the answer so I won’t fail

Answer:
9
Step-by-step explanation:
We have to solve in order to find out if Sam is correct
Remember PEDMAS:
For Multiplication, division and addition, subtraction, do what appears first left to right
Parenthesis
Exponent
Division
Multiplication
Addition
Subtraction
16 - 18 + (2+1)+2^3
Parenthesis first: 2+1 = 3
16 - 18 + 3 + 2^3
Exponent next: 2^3 = 8
Subtraction (it's on the left) : 16-18 = -2
Addition: -2 + 3 = 1
Addition : 1 + 8 = 9
Sam is not correct, the answer is 9, not 16.
Hope this helps :)
Have a great day!
Answer:
18
Step-by-step explanation:
[tex]16-18:(2+1)+2^3[/tex]
We must use the BEDMAS rules (Brackets, Exponents, Division, Multiplication, Addition, Subtraction)
We must first calculate what's in the brackets:
[tex]2 + 1 = 3[/tex]
So the new expression is:
[tex]16-18:3+2^3[/tex]
Next, we calculate the exponent:
[tex]2^3 = 8[/tex]
So our expression is now:
[tex]16-18:3+8[/tex]
Next we divide:
[tex]18:3 = \frac{18}{3} = 6[/tex]
Our expression is now:
[tex]16 - 6 + 8[/tex]
Then we subtract:
[tex]16 - 6 = 10[/tex]
The new expression:
[tex]10 + 8[/tex]
And finally we add:
[tex]10 + 8 = 18[/tex]