*if ur good at word problems please help me!!!
A membership to gym S cost $42 plus $10 per visit. A membership at gym R costs $20 plus $12 per visit.
1. Write an equation that will represent memberships for both gym S and gym R.
2. Use your equations to solve for the number of visits, v, it will take for the memberships from gym S and gym R to cost the same amount? What is the cost?