Jamie opens a bank account with $40. She adds $17 each week. How many weeks will it take her to have $176 in her account?

Let x be the number of weeks it will take her to have $176 in her account.

Her account balance after x weeks is 40 + 17x.
We set this expression equal to 176 and solve for x: 40 + 17x = 176
Subtracting 40 from both sides, we get 17x = 136
Dividing both sides by 17, we get x = 8.
It will take her 8 weeks to have $176 in her account. Answer: \boxed{8}.