What is the equation of the tangent line to the polar curve # f(theta)=theta^2costheta-theta+tan(theta/3) # at #theta = pi#?