Answer:
21 and 3
Step-by-step explanation:
Let's call the small number \(x\) and the larger number \(y\).
According to the problem:
\(x=\frac{1}{7}y\)
And when you substract the smaller number from the larger number you get 18:
\(y-x=18\)
substituting the first equation in the second one:
\(y-\frac{1}{7}y=18\frac{6}{7}y=18\\ y=\frac{18*7}{6} =3*7=21\\y=21\)
the larger number is 21.
Using the first equation to find \(x\):
\(x=\frac{1}{7}y\\ x=\frac{1}{7} (21)\\x=3\)
the smaller number is 3.