X is the smallest number
y=x+2
z=x+4
z+2x=25
x+4+2x=25
3x=21
X=7
Y=9
Z=11
The equation that we used to solve the problem is x+4+2x=25, which can be simplified to 3x=21.