The order of mathematical operation is MDAS.
M - multiplication
D - division
A - addition
S - subtraction
3 - 3 x 6 + 2
Multiplication : 3 x 6 = 18
Division: none
Addition : + 3 + 2 = 5 (combine positive numbers)
Subtraction : 5 - 18 = -13
3 - 18 + 2 = -13