What is the best way to come up with equation
Consider the problem
How many liters of oil must be added to x liters of an oil-water solution that is y percent oil to produce a solution that is z percent oil?
Solution 1: this is what you guys have mentioned
(y/100)x + n = (z/100)(x + n)
xy + 100n = xz + zn
xy - xz = nz - 100n
xy - xz = n(z - 100)
n = xy - xz
_________
z - 100
Solution 2: this is the one i came up with
(z/100)(x+n) - (y/100)x = n
zx + zn - yx = 100n
zx - yx = 100n - zn
zx - yx
_______ = n
100 - n
Can you tell me what approach did i took wrong while designing equation. How can we be sure as what order to pick.