Ta có:
\(\frac{a}{b}=\frac{3}{4}\left(1\right)\)
\(\frac{a+20}{b}=2\left(2\right)\)
Lấy (2) trừ đi (1) ta có:
\(\frac{a+20}{b}-\frac{a}{b}=2-\frac{3}{4}\)
\(\frac{a}{b}+\frac{20}{b}-\frac{a}{b}=\frac{5}{4}\)
\(\frac{20}{b}=\frac{20}{16}\)
=> b = 16
\(\Rightarrow a=16.\frac{3}{4}=12\)
Vậy a = 12; b = 16