Lol, by some fluke, in TT's example the X:Y ratio is constant, though this almost never happens so it's very bad practice. You know that the ratios of how much X was consumed to how much Y is produced is constant, and you know this because of conservation of matter etc.
In TT's example, say A moles of X were consumed, that means that 3A moles of Y were consumed. THe ammount of X and Y left is:
=1-A)
=3-3A<br />)
}{n(Y)}=\frac{1-A}{3-3A}=\frac{1}{3})
But the X:Y:Z ratio is not conserved. And if instead you started of with 4 moles of Y rather than 3 then the ratio would not be a constant (dependant on A).
I don't know why you are worrying so much about the ratio of the actual ammounts. Just use the fact that the ratio of the consumption is is constant and you can work out everything from there. As you can see you have no reason for believing that the ratio of the ammounts stay constant or change unless you do some completely unnecesary mathematics.