First, we need to find an equation that represents John's savings.
Now, the initial deposit of $2000 is the independent value and $535 each week represents the dependent value.
Let's set x for the number of weeks. Therefore, we can write the next equation:

and Mary's savings account is represented by the function:

We need to compare both equations: