Here is how cardio and strength training help you make the most of your workout.