find the general solution of the following first order differential equation.

dx/d(theta)=(xtan(theta))-(cos(theta))

show working