Write the equation in first-order linear form, calculate the integrating factor, and multiply every term by it. The left-hand side then becomes the derivative of a product, allowing both sides to be integrated directly.
This is IB Mathematics: Analysis and Approaches HL, sub-topic AHL 5.18: first-order differential equations. The method below assumes an analytic Paper 1-style question.
The Method
A first-order linear differential equation has standard form
