Hector would like to join a gym that has one-time membership fee plus a monthly fee he can use the function

Let's define the function for Hector's gym membership cost. Let x represent the number of months Hector plans to be a member.

The one-time membership fee is a fixed cost. Let's say it is M dollars.

The monthly fee is a recurring cost, payable every month. Let's say it is R dollars per month.

To calculate the total cost for Hector to join the gym, we can use the following equation:

Total Cost = One-time Membership Fee + Monthly Fee * Number of Months

The equation in mathematical notation can be represented as:

C(x) = M + R * x

where C(x) represents the total cost as a function of the number of months x.