## Sketching Periodic Extensions

Does anyone know how to sketch periodic extensions of a trigonometric fourier series? Namely ones where the function has pi in it i.e x + pi.
I have the solutions to the question and it is drawn as a triangle...but dont know where it came from.....it had x+ pi -pi <=x <=0, and pi - x 0 <= x <=pi