MAT540Week 4 HomeworkChapter 151. The manager of the Carpet City outlet needs to make an accurate forecast of the demand for Soft Shag carpet (its biggest seller). If the manager does not order enough carpet from the carpet mill, customers will buy their carpet from one of Carpet City’s many competitors. The manager has collected the following demand data for the past 8 months:MonthDemand for Soft Shag Carpet (1,000 yd.)19283748510611713812a. Compute a 3-month moving average forecast for months 4 through 9.b. Compute a weighted 3-month moving average forecast for months 4 through 9. Assign weights of 0.50, 0.30, and 0.20 to the months in sequence, starting with the most recent month.c. Compare the two forecasts by using MAD. Which forecast appears to be more accurate?2. The manager of the Petroco Service Station wants to forecast the demand for unleaded gasoline next month so that the proper number of gallons can be ordered from the distributor. The owner has accumulated the following data on demand for unleaded gasoline from sales during the past 10 months:MonthGasoline