ContraHacker, one of your main errors is that you writing it wrong as you are using horizontal style
combined with the Order of Operations. You must use adequate grouping symbols. Don't use "X"
or "x" for multiplication. Leave that to grouping symbols and the asterisk.
(Technically speaking, the parentheses around y/x and 2/y are for spacing purposes and
clarification/emphasis, for example.)
Altering the look of Subhotosh Khan's next step to reflect it more with the problem and with function notation:
(dy/dx) * [(2/y) - log(x)] = y/x
dy/dx = (y/x)/[(2/y) - log(x)]
At some point, multiply the numerator and the denominator of the main fraction on the right side of the equals
sign by y:
dy/dx = y*(y/x)/{y*[(2/y) - log(x)]}
dy/dx = (\(\displaystyle \ y^2\)/x)[2 - ylog(x)]
At some point, multiply each side by x:
x(dy/dx) = [x\(\displaystyle y^2\))/x]/[2 - ylog(x)]
x(dy/dx) =\(\displaystyle \ y^2\)/[2 - ylog(x)]