Answer:
Josie: 100 + 5x
Allanah: 10 + 20x
As stated in my last response, x means the unknown variable of the amount of times they will repeat the process. Now, given that the unknown variable is 4, just plug it into the equation.
Josie: 100 + 5(4)
Allanah: 10 + 20(4)
Josie: $120
Allanah: $90
Josie clearly has more money (by then the end of 4 weeks)
Now, for the last question,
Josie: 100 + 5x
Allanah: 10 + 20x
If we set these equations equal to each other, x will equal 6
100 + 5x = 10 + 20x
This means after 6 weeks they will have the same amount of money.