Let's define the variable:
- Let \( h \) be the number of hours that have passed since Travis plugged in the freezer.
According to the problem, the temperature drops by 12 degrees for each hour after plugging in. Thus, the equation representing the temperature in the freezer after \( h \) hours can be expressed as:
\[ \text{Temperature} = \text{Initial Temperature} - (\text{Drop per hour} \times \text{Number of hours}) \]
Given:
- Initial Temperature = 70 degrees,
- Drop per hour = 12 degrees,
- Final Temperature = -2 degrees.
We can set up the equation:
\[ -2 = 70 - 12h \]
Now we'll solve for \( h \).
- Start by isolating the term with \( h \):
\[ -2 - 70 = -12h \]
\[ -72 = -12h \]
- Now divide both sides by -12:
\[ h = \frac{-72}{-12} = 6 \]
Thus, the number of hours that have passed is:
\[ \boxed{6} \]