Since there is no question, I’m assuming that you’re trying to find the formula for this.
You need to add the amount in his savings, $400, to the amount of money he makes every week, $250, subtracted by the $15 cost of his gym membership all multiplied by the amount of weeks he works, x, then subtract $50 for the one-time enrollment fee for the gym membership.
400+[x(250-15)]-50