Let the two numbers be x and y, respectively the first and second. We can translate the sentences into equations:
One number is 4 less than a second number: [tex] x = y-4 [/tex]
Twice the second number is 47 more than 5 times the first: [tex] 2y = 5x+47 [/tex]
Which leads to the following linear system:
[tex] \begin{cases} x = y-4\\2y = 5x+47\end{cases} [/tex]
The first expression gives a way to express x in terms of y. Use this expression to substitute x in the second equation:
[tex]2y = 5x+47 \iff 2y = 5(y-4)+47 \iff 2y = 5y -20+47 \iff -3y = 27 \iff y = -9 [/tex]
Use the first equation to deduce the value of x, now that we know the value of y:
[tex]x = y-4 \iff x = -9-4 \iff x = -13 [/tex]