40-8/2*(3+1)
Let's evaluate:
ⓘ Parentheses are computed first: =
ⓘ We simplify the fraction by dividing the numerator and the denominator by , their greatest common divisor: =
ⓘ Multiplications are done before additions and subtractions: =
ⓘ Start from and move back on the number line: =
▶Result: