The membership at Gym A costs $20 to join for 1 month plus $3 per visit. The membership at Gym B costs a flat rate of $40 for 1 month. If x is the number of visits and is the total cost 20 + 3x dollars, write a system of equations that models the problem and graph it. analyze the cost structure to determine which membership is better based on the number of times you go to the gym per month.