Mr. Lopez wrote the equation 32 g + 8 g minus 10 g = 150 on the board. Four students explained how to solve for g.

Alyssa: “I added 32 and 8 to get 40, subtracted 10 to get 30, and then subtracted 30 from 150 to find the value of g, which is 120.”

Rahul: “I added 32, 8, and 10 to get 50, and then I subtracted 150 to find the value of g, which is –100.”

Toni: “I subtracted 18 from 32 to get 14, which I then divided into 150 to find the value of g, which is 10 and StartFraction 5 Over 7 EndFraction.”

Wilhem: “I added 32 and 8 to get 40, subtracted 10 to get 30, and then divided both sides by 30 to find the value of g, which is 5.”

Which student’s work is correct?