We will find the time it will take Lucy to catch up to Mandy, by solving the following system:
Here, the first expression represents Mandy's and the second expression represents Lucy's.
Now, we solve:
From this, we have that it will take 10 days to have the same number of scarves, which will be 20 scarves.
We can graph them as follows: