You can put this solution on YOUR website! Expressions like this require two scans.
On the 1st scan you perform multiplication and
division as they are indicated from left to right.
On the 2nd scan you perform addition and subtraction
as they are indicated from left to right.
So, 1st scan results in 14+18
2nd scan results in 32
Cheers,
Stan H.