Suppose the numbers are positive.
Let x,y,z be the numbers with x>y>z.
Since they're positive, it is obvious that x=y+z.
x-2=3z ====> x=3z+2The largest number diminished by 2 equals three times the smallest.
x+2=2(y-2) ====> x=2y-6The largest increased by 2 equals twice the result of diminishing the middle number by 2.
Solve the system :