I have to solve this kind of exercise where I have to find a function $f:]-1,1[\rightarrow\mathbb{R}$ that have the following Taylor series centered at $0$
$$ 2+2x+2x^2+2x^3+2x^4+2x^5+... $$
My teacher said, that i have to imagine the Taylor series as a series from calculus 1. I have to check what that series converges against and I also have to check if the function gives the above Taylor series.
I haven't worked with this kind of exercise before, and i hope i can get some help.
Thanks in advance.