Andrew pays a monthly membership fee of $10 at his gym. Each time he uses the gym, he pays $5. Last month, Andrew spent a total of $65 for membership and gym use. If the equation 10 +5x=65 models the situation, how many times did he use the gym last month?