A pendulum of mass m is subjected to short shocks, for each of which it receives an impulse p. Construct a graph of the pendulum motion if it is known that at the beginning it was at rest, that there is no damping of oscillations, and the shocks follow each other at time intervals T₀ and T₀/2 (T₀ is the period of free oscillations of the pendulum).