A club offers two memberships. One for
$120 and charges a cost of $20 for every visit. Other membership costs $180 and charges a cost of $5 for every visit. At the end of the month, both memberships get the same amount of money. Find the amount they got if y indicates the total charge and x indicates the number of visits.