To solve for \( w \) in the equation \(-45 = -5 + 10w\), follow these steps:
- Add 5 to both sides to isolate the term with \( w \):
\[ -45 + 5 = 10w \]
\[ -40 = 10w \]
- Divide both sides by 10 to solve for \( w \):
\[ w = \frac{-40}{10} \]
\[ w = -4 \]
So, the solution for \( w \) is:
\[ \boxed{-4} \]