Step-by-step explanation:
Let the number of hours at westside be

The number of hours at pine wood will be

Per hour at westside costs

The amount he will pay at westside will be

Per hour at pinewood costs

The amount he will pay at pine wood will be

Hence,
The total amount he will pay for the class fees will be

Hence,
The final answer is
