General Solution to Differential Equations of the Form dy/dx=f(x)g(y)