If the total cost is $49 and the membership cost $45, then he/she paid $4 for his/her visits to the museum. Since each visit cost $2, then he/she visited the museum 2 times.