contestada

Keith plans to attend the Lewis County Fair and is trying to decide what would be a better deal. He can pay $39 for unlimited rides, or he can pay $13 for admission plus $1 per ride. If Keith goes on a certain number of rides, the two options wind up costing him the same amount. What is the cost and how many rides it that?