Juan- y=5x+10
Maria- y= 10x+5
In these equations y symbolises all the money they have after the x amount of days so by the x you put the amount of money they put in their bank every day and at the end add the amount of money they put in the bank at the start.