Charlie is trying to allocate his study time this weekend. He can spend time working with either his math tutor or his chemistry tutor to prepare for next week's tests. His math tutor charges $ 20 per hour. His chemistry tutor charges $ 40 per hour. He has $ 240 to spend on tutoring, but each hour with the math tutor requires 3 aspirin and 1 hours of sleep to recover. Each hour with the chemistry tutor requires 1 aspirin and 3 hour of sleep to recover. Charlie has only 30 aspirin left, and can only afford to sleep for 15 hours this weekend. If each hour of math tutoring will improve his grade by 3 points and each hour of chemistry tutoring will improve his grade by 1 points, how many hours should he spend with each tutor in order to improve his grades the most?

Charlie should spend hours with his math tutor and hours with his chemistry tutor to improve his grades by a total of points.

You can earn partial credit on this problem.