Trajectory Tracking of Optimal Social Distancing Strategies with Application to a CoVid-19 Scenario