The total cost of a and B is 200 yuan. A is priced at 30% profit, B is priced at 20% profit, All the goods are sold at a "10% discount" on the price. As a result, a total profit of 27.7 yuan is made for both goods?

The total cost of a and B is 200 yuan. A is priced at 30% profit, B is priced at 20% profit, All the goods are sold at a "10% discount" on the price. As a result, a total profit of 27.7 yuan is made for both goods?

Suppose the cost of a is x yuan, then the cost of B is 200-x yuan. The price of a is x * (1 + 30%) = 1.3x. The price of B is 20%. The price of B is (200-x) (1 + 20%) = 1.2 (200-x). Later, the two kinds of goods are sold according to 90% of the price. The total profit is 27.7 yuan, then 1.3x * 90% + 1.2 (200-x) * 90% - 200 = 27