Follow the order of operations, PEMDAS:
Do everything in parentheses (P), left to right.
Evaluate any exponents (E), left to right.
Do all multiplication and division (MD), in order, left to right.
Then do all addition and subtraction (AS), in order, from left to right.
(Good way to remember: Please Excuse My Dear Aunt Sally) There are no parentheses or exponents, so first, perform the multiplications and divisions, left to right: 5 + 14 - 2 Then do the additions and subtractions from left to right: 19 -2 17