A second-order impulsive Cauchy problem