Find the equation of the tangent line to the curve y=2xcosx\displaystyle {y}={2}{x}{\cos{{x}}} at the point (π,2π)\displaystyle {\left(\pi,-{2}\pi\right)}.

The equation of this tangent line can be written in the form y=mx+b\displaystyle {y}={m}{x}+{b} where

m=\displaystyle {m}=  

and b=\displaystyle {b}=