Please write the equation and solve:

Members of the Campus Roller Rink pay a yearly membership

fee of $50 plus $5 each time they go skating. Nonmembers pay

$10 each time they go skating. How many times would both a

member and a nonmember have to go skating in a year in order

to pay the same amount?