.
The consecutive integers are n and (n+1).
The equation, according to the condition, is
4n + 5*(n+1) = 77.
It gives
4n + 5n + 5 = 77
9n = 77 - 5 = 72
n = 72/9 = 8.
ANSWER. the integers are 8 and 9.
. . . . . . . .
Actually, this formulation is provocative.
It is provocative, because the notion "one number" is not the same as the "smaller number".
Therefore, in parallel with the equation (1), we should consider the other case
4*(n+1) + 5*n = 77.
It gives
4n + 4 + 5n = 77
9n = 77 - 4 = 73
n = 73/9 is not an integer number, so we reject this case.
---------------
Completed and solved.