Answer:
Input variable x: Number of classes he attends.
Output variable y: Monthly cost
Slope: Cost per class, of $2
y-intercept: Membership fee, of $25.
Function:
![y = 2x + 25](https://img.qammunity.org/2022/formulas/mathematics/college/wrzszng1yxbedg9koq16po1la9ch1xlhcz.png)
Explanation:
This situation can be represented by a function is the following format:
![y = mx + b](https://img.qammunity.org/2022/formulas/mathematics/high-school/hi7nib56czgdtaz3ud2tuzvr49eqo8cnyj.png)
In which y is the monthly cost(output), m is the cost per class(slope), x is the number of classes he attends(input) and b is the membership fee(y-intercept).
We have that:
There is a membership fee of $25 per month and a fee of $2 per workout class he attends.
This means that
. So
![y = 2x + 25](https://img.qammunity.org/2022/formulas/mathematics/college/wrzszng1yxbedg9koq16po1la9ch1xlhcz.png)