[math problem] the price of a includes 30% of the profit, and the price of commodity B includes 40% of the profit [math problem] the price of a includes 30% profit, and the price of commodity B includes 40% profit. The total price of the two commodities is 470 yuan. The price of a is 50 yuan more than that of B. what's the cost of a?

[math problem] the price of a includes 30% of the profit, and the price of commodity B includes 40% of the profit [math problem] the price of a includes 30% profit, and the price of commodity B includes 40% profit. The total price of the two commodities is 470 yuan. The price of a is 50 yuan more than that of B. what's the cost of a?

Let the cost of a be X Yuan and that of B be y yuan
130/100x+140/100y=470
130/100x=140/100y+50