
Nitin P. answered 05/13/20
Machine Learning Engineer - UC Berkeley CS+Math Grad
You can set this up as a system of equations. Let x be the smaller number and y be the greater number. The "difference" here is ambiguous (is it x-y or y-x)? So i will assume y - x since that's positive. Then, we have:
x + y = 3(y - x)
y = x + 5
Substituting the second equation into the first, we have:
x + x + 5 = 3(x + 5 - x)
2x + 5 = 15
x = 5
y = x + 5 = 10
Therefore, the smaller number is 5 and the larger number is 10.
Hadi M.
Thanks a lot05/13/20