Solution:
To solve (1) we will use following formula
General solution for the differential equation in the form of is given by,
Where, integrating factor,
Dividing equation (1) by
Comparing (2) with
Where,
Therefore, integrating factor is
Thus
General solution is
Let
Substituting I in (3)
Multiplying above equation by