Pedro and Maria each opened a savings account on the same day and agreed to both withdraw money weekly to spend on what they choose. Pedro opened his account with $710 and withdrew $35 per week. Maria opened her account with $570 and withdrew $25 per week. In how many weeks, x, will they have the same amount of money in their savings accounts?