To answer this question, we have here a linear function with a y-intercept at $2,500.
We can rewrite the situation as follows:
We can see that we will pay $10,000 per year, and the results for the function are in dollars ($).
Now, the cost of attending the school for 3 years is:
Therefore, we have that the cost of attending the school for 3 years is $32,500.