In this problem we can made a function to calculate the total amount for Samantha (S) and total amound of Australia (A) fon any time:
when t is the number of weeks. if we made equal the ecuation we will have the time when they would have the same amound:
and we solve for t
This means that in the next full number Australia will have more money than Samantha, so in 4 weeks this is going to happen.