Answer
$33$ and $94$
Work Step by Step
Let $x$ be the first number and $y$ be the second number. A system of equations that satisfy the conditions of the problem is
\begin{cases}
x=3y-5
\\
x+y=127
.\end{cases}
Substituting the first equation into the second equation results to
\begin{array}{l}\require{cancel}
(3y-5)+y=127
\\
3y+y=127+5
\\
4y=132
\\
y=\dfrac{132}{4}
\\
y=33
.\end{array}
Substituting $y=33$ into the second equation results to
\begin{array}{l}\require{cancel}
x+33=127
\\
x=127-33
\\
x=94
.\end{array}
Hence, the two numbers are $\text{
$33$ and $94$
.}$