Look carefully at the statement given:
3 + (5 + 4) = (5 + 4) + 3
Look at Left-hand side:
a = 3 and b =(5 + 4)
Now, look at Right-hand side:
b = (5 + 4) and a = 3. Therefore:
a + b = b + a sub the values of a and b above into this equation:
3 + (5 + 4) = (5 + 4) + 3
And that is why G is the answer. Got it?.