Steve had 1/3 as many hats as Lucas. Lucas gave 5 hats to Steve so that they would each have the same amount. How many hats did they have altogether?
Let Lucas has x hats
Steve has hats = 1/3 * x = x/3
Lucas gave 5 hats to Steve
Lucas had hats = x - 5
Steve had hats = (x/3 + 5)
x - 5 = x/3 + 5
3x - 15 = x + 15
2x = 30
x = 15
Lucas has 15 hats
Steve than = x/3 = 5 hats
Total hats = 20 hats