clues
[1] equal amount on each container
"He poured an equal amount of water into each of them"
[2] fractions on each container
"1/3 of X was filled with water, 1/4 of Y was filled with water and 2/5 of Z was filled with water. "
equal fraction concept
step 1: find equal fractions
1/3 x = 1/4 y = 2/5 z
step 2: make numerators the same using lowest common multiple (1, 1, 2) → 2
2/6 x = 2/8 y = 2/5 z
step 3: convert to numerators
total x = 6u total y = 8u total z = 5u
X : Y : Z 6 : 8 : 5