Even if this problem was answered here before, I still think my solution process is different and needs some assistance.
Still the complex Fourier series is given by: $f(x) =\dfrac{1}{2\,\pi}\displaystyle{\sum_{n = -\infty}^{\infty}}c_n\,e^{-i\,n\,x}$
In my case $c_n$ is being calculation like: $c_n =\displaystyle{\int_{-\pi}^{\pi}|x|\,e^{-i\,n\,x}\,\mathrm{dx}=\int_{-\pi}^{0}-x\,e^{-i\,n\,x}\,\mathrm{dx}+\int_{0}^{\pi}x\,e^{-i\,n\,x}\,\mathrm{dx} }$
Solving this: $c_n = \left[\left(-\dfrac{t\,i}{n}-\dfrac{1}{n^2}\right)\,e^{-i\,n\,t}\right]_{-\pi}^{0}+\left[\left(\dfrac{t\,i}{n}+\dfrac{1}{n^2}\right)\,e^{-i\,n\,t}\right]_{0}^{\pi} = \dfrac{-2}{n^2}+2\,(-1)^n$
thus $f(x) = \dfrac{1}{2\,\pi}\,\displaystyle{\sum_{n = -\infty}^{\infty}}\left(\dfrac{-2}{n^2}+2\,(-1)^n\right)\,e^{-i\,n\,x}$. But I'm really not sure about that.