Keith's balance is written as B(w) where w is the number of weeks passed since the beginning of summer. We have:

B(w) = 500 - 25w

The problem asks for B(w) = 200, so we set 500 - 25w = 200.

Typing 500 - 25w = 200 into the search engine, we get

**w = 12**.