Question 796089
x + y = 118
y = 3x - 6


Substitute the second equation into the first equation.


x + (3x - 6) = 118
4x = 124
x = 31


The integers are x = 31 and y = 87.