There are 95 tons of grain in warehouse A and warehouse B. now 23% of it is transported from warehouse A and 40% from warehouse B. then the remaining grain in warehouse B is twice that in warehouse A. how many tons of grain were there in warehouse A and warehouse B?

There are 95 tons of grain in warehouse A and warehouse B. now 23% of it is transported from warehouse A and 40% from warehouse B. then the remaining grain in warehouse B is twice that in warehouse A. how many tons of grain were there in warehouse A and warehouse B?

Suppose that warehouse A has x tons of grain and warehouse B has (95-x) tons of grain. (1-23) × x × 2 = (95-x) × (1-40%); & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 23x = (95-x) × (1-25), & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 23x = 95 × 35-35x, & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 23x+35x=95×35-35x+35x,     1015x+915x=95×35,          1915x=19×3,     1915x×1519=19×3×1519,              X = 45; then the tonnage of warehouse B is 95-45 = 40 (tons). A: warehouse A and warehouse B originally had 45 tons and 40 tons of grain respectively