Maria bought seven boxes. A week later half of all her boxes were destroyed in a fire. There are now only 22 boxes left. how many did she start with?

write an equation
what is the variable
show your work