Question 26
Two barrels X and Y contained different amounts of oil at first. Some oil from X was poured into Y so that the amount in Y doubled. Then some oil from Y was poured into X so that the amount in X doubled. After these two pourings, each barrel contained 18 litres. How many litres of oil were in X at first?