How do I solve this simple ODE with $\cos$ and $\cot$?

110 Views Asked by At

I'm new to Ordinary DIfferential Equation and I need to find the general solution to this problem:

$$\dot{x} = 2\cos{t} - x\cot{t}, (t, x) \in [0, \pi] \times \mathbb{R}$$

I don't know where to start, given that I don't have an initial condition, is there something that I'm missing? Is there a possible substitution?