WEEK THREEHomework.Consider the following, and answer questions a through d below: Brian is taking three courses this semester: economics, statistics, and finance. He has decided to spend 19 hours per week studying (in addition to attending all his classes) and his objective is to maximize his average grade, which means maximizing the total of his grades in the three courses. The table shows Brian’s estimate of the relation between time spend studying and his grade for each course. Notice it is assumed that Brian will spend at least 4 hours per week studying each of the three courses.Grade inGrade inGrade inHours of StudyEconomicsStatisticsFinance46863645767271683807778785838908887992909010949192119592941296939513969495a. Is this a constrained optimization problem or an unconstrained optimization problem?b. If Brian is going to spend a total of 19 hours a week studying what is the optimal mix of studying between the three courses? That is, how many hours will he devote to economics? To statistics? To finance?c. What is the maximum average grade Brian can earn if he studies 19 hours per week? d. What if Brian decides to spend 25 hours, rather than 19, studying? How does the optimal mix change? How does the maximum average grade change?