Mia has $40 in a savings account. She will start adding $5 to her account each week. Juan has $15 in a savings account. He will start adding $10 to his account each week.

Let x represent the number of weeks each person adds money to his or her savings account. Let y represent the total number of dollars in the account. Write a system of two linear equations to represent the situation.