State the linear programming problem in mathematical terms,…

State the linear programming problem in mathematical terms, identifying the objective function and the constraints.A firm makes products A and B. Product A takes 2 hours each on machine L and machine M; product B takes 4 hours on L and 2 hours on M. Machine L can be used for 13 hours and M for 10 hours. Profit on product A is $10 and $7 on B. Maximize profit.