Answer :
Be the integers: x and y
x - y = 40
x = 3y
Replace x in the first equation:
3y - y = 40
2y = 40
y = 20
x = 60
x - y = 40
x = 3y
Replace x in the first equation:
3y - y = 40
2y = 40
y = 20
x = 60