Let the numbers be x and y.
[tex]\begin{gathered} x+y=24 \\ x\text{ is two times as large as y. That means;} \\ 2x=y \\ \text{Therefore,} \\ x+2x=24 \\ 3x=24 \\ \text{Divide both sides by 3} \\ x=8 \\ x+y=24 \\ 8+y=24 \\ y=24-8 \\ y=16 \end{gathered}[/tex]Therefore, the numbers are 8 and 16