Since both of the height is the same, we can say let 1u be the height of the tanks.
First tank volume = length × breadth × height = 40 × 25 × 1u = 1000u cm³
Second tank volume = length × breadth × height = 30 × 20 × 1u = 600u cm³
8 ℓ = 8000 cm³ 8000 = first tank volume + second tank volume 8000 = 1000u + 600u 8000 = 1600u
1u = 8000 ÷ 1600 = 80 ÷ 16 = 5