contestada

If f(x)=x^2+1, find and simplify:
(a) f(t+1)
The answer: t^2+2t+2
I do not understand how to workout the problem and get this answer. Please help!