a = 1;
a = a + 2;
a = a * 3; // Gives 9

// while, inverting the order of 
// the 2nd and 3rd line:

a = 1;
a = a * 3;
a = a + 2; // Gives 5