Tickets to the school play cost $9 for adults and $5 for students. The Wilson family bought 3 adult tickets and 4 student tickets. The Jackson family bought 2 adult tickets and 6 student tickets. What was the difference in the amount spent by the two families?

A. $1
B. $24
C. $36
D. $48