your gym membership cost $33 per month after an initial membership fee. you paid a total of $228 after 6 months. writer an equation that gives the cost as a function of the length of your gym membership (in months). find the total cost after 9 months