Chau is taking 13 credit hours in total, so if he is taking w credit hours at Westside, he is taking 13-w credit hours at Pinewood.
Class Fees = ($98 per credit hour)*(w credit hours) + ($115 per credit hour)*(13-w credit hours)
Class fees = 98w + 1495 - 115w
Class fees = -17w + 1495