A gym charges $35 per month after an initial membership fee. A member has paid a total of $250 after 6 months. Write an equation that gives the total cost of a gym membership as a function of length of membership (in months). Find the total cost of membership after 10 months.

requiredequation is,y = 40 + 35 x, and the cost for 10 months will be390.## What is an expression?

Expressionin maths is defined as the collection of the numbers variables and functions by using signs likeaddition, subtraction, multiplication, anddivision.operations, functions, brackets, punctuation, and grouping can all be represented bymathematicalsymbols, which can also be used toindicatethe logical syntax’s order ofoperationsand other features.chargesof gym = Initial service fee + $ 35 per monthchargesfor 6 months = Initial service fee + 35 × 6 = Initial service fee + 210question,totalcharges for the gym for x months =40 + 35x.Here, y represents the totalchargesfor x months,membershipafter 10 months will becalculatedas:-requiredequation is,y = 40 + 35 x, and the cost for 10 months will be390.Expressionfollow