a: \(2\cdot cot\left(\dfrac{pi}{2}-x\right)+tan\left(pi-x\right)\)
\(=2\cdot tanx-tanx\)
=tan x
b: \(sin\left(\dfrac{5}{2}pi-x\right)+cos\left(13pi+x\right)-sin\left(x-5pi\right)\)
\(=sin\left(\dfrac{pi}{2}-x\right)+cos\left(pi+x\right)+sin\left(pi-x\right)\)
\(=cosx-cosx+sinx=sinx\)