Solution:
Concept: Componendo and dividendo: If ba=dc, then a−ba+b=c−dc+d. In words: on each side, the new top is (top + bottom) and the new bottom is (top − bottom). It also works backwards: if a−ba+b=c−dc+d, then ba=dc.
Step 1 — Apply componendo and dividendo.
On the left, the sum of top and bottom is x3+6x2+12x+8 and the difference is x3−6x2+12x−8; the right side works the same way.
x3−6x2+12x−8x3+6x2+12x+8=y3−9y2+27y−27y3+9y2+27y+27
Step 2 — Recognise perfect cubes.
We use (p+q)3=p3+3p2q+3pq2+q3 with q as 2 on the left and as 3 on the right.
(x−2)3(x+2)3=(y−3)3(y+3)3
Step 3 — Take the cube root.
A cube root has only one real value, so no ± is needed.
x−2x+2=y−3y+3
Step 4 — Apply componendo and dividendo again.
The sum and the difference on the left are 2x and 4; on the right, 2y and 6.
42x=62y
2x=3y
Step 5 — Interchange the means (alternendo).
We interchange 2 and y, so that x and y come together.
yx=32
Check: With x=4 and y=6, the left side is 96+864+48, which reduces to 1314, and the right side is 324+27216+162, which also reduces to 1314.
Watch out: Look for the cube pattern 1, 3, 3, 1: x3+6x2+12x+8 is (x+2)3 because 6=3×2 and 12=3×4.
Therefore, x:y=2:3.