So in this equation we're given that Ravi puts $350 into his account, this means that when W=0, S=350. Or that the y-intcpt(b) is 350.
when we find an equation we use slope intcpt formula:
y = mx + b
M in this case is the slope or the amount S
changes for every value of W. So if Ravi adds $70 every day that means the amount of money in his account increases by $70 everyday, so we can say m= 70
So putting together the equation with b= 350 and m = 70 we get :

Calculating for 17 weeks or W = 17

Ans: $1540