$$x(t)=5 e^{-i 20\pi t} +5$$
I need to find the magnitude of this function, $|x(t)|$.
My idea was to convert from the first have from polar to rectangular form.
$$x(t)=5[\cos(-20\pi t)+j \sin(-20\pi t)]+5$$ $$=5\cos(20\pi t)+5-j5 \sin(20 \pi t)$$
I know the answer is, $$|10 \cos(10\pi t)|$$
but, I don't know how to get here from what I have.
What technique/rule do I need to apply here?