[tex] \large\underline \bold{{SOLUTION}}[/tex]
[tex]\textsf{\small{Let x be the first number and y be the second}}[/tex]
[tex]\textsf{Solving the System of Linear Equation}[/tex][tex]\textsf{By Substitution}[/tex]
[tex]\sf{x+y=35\implies\boxed{\sf{x=35-y}}}[/tex]
[tex]\sf{2x=y-5}[/tex]
[tex]\textrm{\small{\underline{Substitute the first equation to the second one}}}[/tex]
[tex]\longmapsto\sf{2x=y-5}[/tex]
[tex]\longmapsto\sf{2(35-y)=y-5}[/tex]
[tex]\longmapsto\sf{70-2y=y-5}[/tex]
[tex]\longmapsto\sf{70+5=y+2y}[/tex]
[tex]\longmapsto\sf{75=3y}[/tex]
[tex]\longmapsto\boxed{\sf{25=y}}[/tex]
[tex]\textsf{Substitute again}[/tex]
[tex]\rm{x+y=35}[/tex]
[tex]\rm{x+25=35}[/tex]
[tex]\rm{x=35-25}[/tex]
[tex]\boxed{\rm{x=10}}[/tex]
[tex] \large\underline{ \bold{ANSWER}}[/tex]
- [tex]\text{The numbers are 10 and 25}[/tex]