After a power failure, the temperature in a freezer increased at an average rate of 2.5 °F per hour. The total increase was 7.5 °F. Write and solve an equation to find the number of hours until the power was restored.