Answer:
100 + (20 × w), 500 + (10 × w), w = 40
Explanation:
The equations you can use for Lyle and Shaun's can look something like this:
amount initially deposited + (amount deposited every week × amount of weeks) = total amount of cash in account.
Now all we need to do is use this equation to solve for Lyle and Shaun.
(weeks = w)
Lyle's account can look something like this:
100 + (20 × w) = amount of cash
Shaun's account can look something like this:
500 + (10 × w) = amount of cash
Now all we need to do is figure out the value of w.
If w was equal to 20, the equations would look like this:
Lyle's equation:
100 + (20 × 20) = 500
Shaun's equation:
500 + (10 × 20) = 700
As you can see, the equations don't line up just yet. Let's try 40.
Lyle's equation:
100 + (20 × 40) = 900
Shaun's equation:
500 + (10 × 40) = 900
Now, the equations line up!
So, this means that w = 40.