Respuesta :

Let x and y be such numbers. Since their sum is 24, then:

[tex]x+y=24[/tex]

Since the second number is 3 times the first number, then:

[tex]y=3x[/tex]

Solve the system of equations using the substitution method. Replace y by 3x on the first equation and solve for x:

[tex]\begin{gathered} x+y=24 \\ \Rightarrow x+3x=24 \\ \Rightarrow4x=24 \\ \Rightarrow x=\frac{24}{4} \\ \therefore x=6 \end{gathered}[/tex]

Substitute x=6 in the expression for y to find its value:

[tex]\begin{gathered} y=3x \\ \Rightarrow y=3(6) \\ \therefore y=18 \end{gathered}[/tex]

Therefore, those numbers are 6 and 18 (notice that 6+18 = 24 and 18 is three times 6)-