Answer:
linear function
y = 2x + 40
Explanation:
This is a linear function since for an equal change of the input (number of visits) you get an equal change in the output (the cost).
The fixed cost is $40.
The variable cost is the $2 per visit.
For x visits, the cost of the visits is 2x.
Now you add the $40 fixed cost to the variable cost to get 2x + 40.
Let y = total cost and x = number of visits.
The equation of the linear function is:
y = 2x + 40