Linear Programming (Линейное программирование)

The company can produce two types of products for $1200 and $800. The first type requires 80 hours of machine time and 10 units of components, the second one 40 hours and 20 units. The machine limited time is 320 hours, the number of components is limited to 80 units. How many of each type of product you need to make to get the maximum revenue? Фирма может производить два вида продуктов по цене 1200 рублей и 800 рублей. Первый вид требует 80 часов машинного времени и 10 единиц компонентов, второй 40 часов и 20 единиц компонентов. Общее количество машинного времени 320 часов, количество компонентов ограничено 70 единицами. Сколько изделий каждого типа следует произвести для получения наибольшей прибыли?