The X just gets copied along.
The answer is X
X
6.3*X evaluates to 6.3X
Multiply Y and 1.2
Multiply Y and 1
The Y just gets copied along.
The answer is Y
Y
1.2*Y evaluates to 1.2Y
6.3*X+1.2*Y evaluates to 6.3X+1.2Y
Multiply X and 3.2
Multiply X and 1
The X just gets copied along.
The answer is X
X
3.2*X evaluates to 3.2X
6.3X - 3.2X = 3.1X
The answer is 3.1X+1.2Y
6.3*X+1.2*Y-3.2*X evaluates to 3.1X+1.2Y
The answer is 3.1X+1.2Y+5.4
6.3*X+1.2*Y-3.2*X+5.4 evaluates to 3.1X+1.2Y+5.4
Multiply Y and 4.3
Multiply Y and 1
The Y just gets copied along.
The answer is Y
Y
4.3*Y evaluates to 4.3Y
1.2Y + 4.3Y = 5.5Y
The answer is 5.5Y+3.1X+5.4
6.3*X+1.2*Y-3.2*X+5.4+4.3*Y evaluates to 5.5Y+3.1X+5.4
--------------------------------------------------------------------------------
The final answer is 5.5Y+3.1X+5.4