98w + 115(12 - w)
or simplifying:
1380 - 17w
Step-by-step explanation:
At west side:
fees per credit hour = $98
let the number of credit Tom offered at west side = w
Total credit hours = 12
credit hours at Westside + credit hours at Pinewood = 12
w + credit hours at Pine wood = 12
credit hours at Pine wood = 12 - w
At Pinewood:
fees per credit hour = $115
credit hours at Pine wood = 12 - w
Total amount Tom paid for his class fees = Amount paid at westside + amount paid at Pinewood
Amount paid at westside = 98(w) = 98w
Amount paid at Pinewood = 115(12 - w)
Total amount Tom paid for his class fees = 98w + 115(12 - w)
simplifying:
Total amount Tom paid for his class fees = 98w + 1380 - 115w
Total amount Tom paid for his class fees = 1380 - 17w