I need help with my homework questions 1 and 2

Answer:
8 weeks
Explanation:
The saving of Maria after x number of weeks can be calculated as:
M = 70 - 6x
Because she has $70 and every week she has $6 less.
At the same way, the saving of Dan after x number of weeks can be calculated as:
D = 94 - 9x
Because he has $94 and every week she has $9 less.
Now, the value of M and D need to be equal, so we can write the following equation:
[tex]\begin{gathered} M=D \\ 70-6x=94-9x \end{gathered}[/tex]So, solving for x, we get:
[tex]\begin{gathered} 70-6x=94-9x \\ 70-6x+9x=94-9x+9x \\ 70+3x=94 \\ 70+3x-70=94-70 \\ 3x=24 \\ \frac{3x}{3}=\frac{24}{3} \\ x=8 \end{gathered}[/tex]Therefore, in 8 weeks their accounts will be equal.