Let x be the smaller number, y the larger one. With the information given, we got the following equations
[tex]\begin{gathered} y-2=x \\ 3y=6x\rightarrow y=2x \end{gathered}[/tex]We need to replace the second equation in the first one to get the solution
[tex]\begin{gathered} y=2x\text{ and }y-2=x\text{ } \\ 2x-2=x\rightarrow \\ 2x-x=2 \\ x=2 \end{gathered}[/tex]if x=2, we get that
[tex]y=2x=2\cdot2=4[/tex]