Anyone know? Need it in less than 10 min

I hate algebra pretending to be geometry.
(3x+7) + (3x+6) + 3x = 3x + 3x + (4x + 5)
9x + 13 = 10x + 5
8 = x
Sides are 3x+7=31, 3x+6=30, 3x=24, 3x=24, 3x=24, 4x+5=37
I'll leave you to figure out which goes in which box.