Existence of three periodic solutions for a non-autonomous second order system