A farmer has 10 acres to plant in wheat and rye. He has to plantat least 7 acres. However he has only $1200 to spend and each acreof wheat costs $200 to plant and each acre of rye costs $100 toplant. If the profit is $500 per acre of wheat and $300 per acre ofrye how many acres of each should be planted to maximize profits?Formulate it as a linear programming problem and use the graphicalmethod to find the optimal solution.