Carlos is a member of a gym. He pays a monthly fee plus a per- visit fee. The equation y = 3x + 10 represents the monthly amount Carlos pays for x visits.
if Carlos pays $85 in the last month how many times did he visit the gym?