write an equation to represent the relationship a number decreased by 12 is equal to 9 then solve the equation