Concept used — volume of a cuboid of water
V=length×breadth×height of water
The volume of water (480 cm³) is the same in both orientations; only the edge that stands vertical changes. The question links the two water heights, so we write the volume once, in orientation II.
Step 1 — Read orientation I. Let the vertical edge be h cm. The empty space above the water is 4 cm, so the water is (h−4) cm high.
Step 2 — Read orientation II. The water height is half of that in orientation I:
21(h−4) cm
In orientation II the cuboid is laid down, so the edge of length h is now horizontal, together with the 5 cm edge. The base is 5×h, so
5×h×21(h−4)=480
Step 3 — Form the quadratic.
25h(h−4)=480⇒h(h−4)=192⇒h2−4h−192=0
Step 4 — Solve by splitting the middle term. Two numbers with product −192 and sum −4 are −16 and 12:
h2−16h+12h−192=0⇒(h−16)(h+12)=0
h=16orh=−12
A length cannot be negative, so h=16 cm.
Step 5 — Heights of water.
Orientation I: 16−4=12 cm,Orientation II: 21×12=6 cm
Answer: the water is 12 cm high in orientation I and 6 cm high in orientation II.
Check: in orientation I the base is 5×b and 5×b×12=480 gives b=8 cm; in orientation II, 5×16×6=480 cm³, as required. The edges 5, 8 and 16 cm are distinct, as the question says.