Represent credit hours at each of the two schools with two different variables
[tex]\begin{gathered} x=\text{credit hours at Westside Community College} \\ y=\text{credit hours at Pinewood Community College} \end{gathered}[/tex]From the question, write out the equation that relates the credit hours of the two schools
[tex]x+y=17====\text{equation}(1)[/tex]From the question, it can be observed that the credit hours at Westside is represented as W.
Therefore, the equation becomes
[tex]W+y=17=====\text{equation (2)}[/tex]Represent the dollar amount per credit hour at westside Community College using a and the total dollar amount for the two classes to be b. Then b becomes
[tex]b=aW+115y[/tex]If a is given as$98, then b becomes
[tex]b=98W+115y======\text{equation (3)}[/tex]Make y the subject of the equation (2) and substitute in equation 3
[tex]\begin{gathered} W+y=17 \\ y=17-W \end{gathered}[/tex][tex]\begin{gathered} b=98W+115y \\ b=98W+115(17-W) \\ b=98W+1955-115W \\ b=1955-17W \end{gathered}[/tex]Hence, the expression for the combined total dollar amount he paid for his class fees is 1955 - 17W