The interest charged on a loan is p dollars per $1,000 for the first month and q dollars per $1,000 for each month after the first month. How much interest will be charged during the first three months on a loan of $10,000?