Before you take Differential Equations you need to know Calculus really well! I think you need more practice in Calculus.
You say " the dy was already there the dx wasn't ".
Strictly speaking neither was in the original equation- it had y'. But I am sure you understand that y' and dy/dx are just different notations for the derivative of y with respect to x.
Romsek said "just multiply both sides by dx". Now, Strictly speaking "dy/dx" is NOT a fraction, it is rather the limit of fractions: $\lim_{h\to 0}\frac{y(x+h)- y(x)}{h}$. But it can be "treated like a fraction". To make use of that we define (typically in Calculus 3) the "differentials" dy and dx separately from dy/dx such that dy= y' dx. That allows us to treat dy/dx as if it were a fraction and say if dy/dx= f'(x) then dy= f'(x)dx.