Hey there! I'm happy to help!
Let's call the number of weeks w. Since we want their balances, to be equal, we can create an equation.
1000-55w=800-30w
Now we solve for w. We add 30w to both sides.
1000-25w=800
Subtract 1000 from both sides.
-25w=-200
Divide both sides by -25.
w=8
Therefore, Mark and Patricia will have the same amount of money in their savings accounts after 8 weeks.
Have a wonderful day! :D