Then, the cost of clothing is (X-45) yuan.
The price of 15% discount is: 0.85X yuan.
After the marked price is reduced to 35 yuan, the selling price is: (X-35) yuan.
Because profit = selling price-cost,
Then, the profit from selling 8 pieces of 15% discount clothing =8*0.85*X-(X-45) yuan.
Profit from selling 12 pieces of 35 yuan clothes at reduced price = 12*(X-35)-(X-45) yuan.
So the final equation is: 8 * 0.85 * x-(x-45) =12 * (x-35)-(x-45).
By solving the equation, X=200 can be obtained.
200-45= 155 (yuan)
So the price of clothing is 200 yuan, and the cost is 155 yuan.
(2) Solution:
The meaning of this question is that the volume of the iron ball is the increase of the volume of water in the container, that is, the liquid level rises.
V (iron ball) =4/3*π*8? =(2048π/3) cm
Let the rising height of the liquid in the iron drum be Hcm,
So, π*9? *H should be equal to the volume of the iron ball,
4/3*π*8? =π*9? *H
Solution: H≈8.4 (cm)
As a result, the water level in the bucket rose by 8.4 cm.