Answer:
18 months
Explanation:
Let y represent the total cost for a gym membership. Let x represent the amount of months.
y=17x+50
356=17x+50
-50 -50 (subtract 50 on both sides to get rid of it)
306=17x
306/17=17x/17 (divide both sides by 17 to get x alone)
x=18