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