I have two differential equations that I need to solve. All the teacher told me is that I need to use a integrating factor to solve them (although I am not entirely sure he even knows what that is). So any help or links to any good resource on the subject would be great:

1. $\displaystyle \frac{dy}{dx}=2x(1+x^2-y)$

2. $\displaystyle \frac{dy}{dx}=\frac{y}{x}+\frac{y^2}{x^2}$