Formation-containment control for mutli-agent systems with second-order dynamics and time-varying delays