Josh bought seven boxes. A week later half of all his boxes were destroyed in a fire. There are now only 22 boxes left. With how many did he start? Please write an equation.