2. (10%) Find the derivative of the functions $f$.

$$(a) \ f(x) = \sqrt[3]{1 + \tan x}, \quad (b) \ f(x) = \cot^2(\sin x).$$