Answer:
As an equation, (we'll use x as the variable), that word problem is 3x+7=31.
To solve we'd subtract 7 from both sides to isolate 3x, which gives us 3x=24. Now, to isolate x(unknown number) we would divide both sides by 3. When you divide both sides by 3, you'd get x=8.