Áp dụng dãy tỉ số bằng nhau, ta có:
\(\frac{1+2y}{18}=\frac{1+6y}{6x}=\frac{1+2y+1+6y}{18+6x}=\frac{2+8y}{18+6x}=\frac{2.1+4y}{2.9+3x}=\frac{1+4y}{9+3x}\)
\(\Rightarrow\frac{1+4y}{9+3x}=\frac{1+4y}{24}\Rightarrow9+3x=24\)
\(3x=15\)
Vậy: \(x=5\)