Let x be the running time for machine A and y be the running time for machine B. Since machines cannot work more than 12 hours x + y < 12
Since maximum production of two machines is 800 units. 60x + 80y < 800
Maximum cost of production is 25000,
2000x + 2500y < 25000 0 < x < 10, 0 < y < 7