A gym charges $40 per month after an initial service fee. One member paid a total of $255 after 6 months. Find the equation that gives the total cost y of a gym membership for x months.

y =
x +