You want to rent a television. Company A charges $40 per week plus a one-time fee of $25. Company B charges $35 per week plus a one-time fee of $45. After how many weeks are the total costs the same at both companies?