Easy...
x*y = 24
x + z = 9
y + z = 7
The factors of 24 are 1,2,3,4,6,8,12,24.
When testing these out we should start with the middle two first: 4,6.
We'll let x = 6 and y = 4.
Then we have the equation x + z = 9, simplified to
6 + z = 9
so z = 3.
Now testing for the third equation, y + z = 7.
We have y = 4, and z = 3 sooooo
x=6
y=4
z=3
If I got anything wrong please say it.