Bridget plans to attend 4 cardio classes and 5 weightlifting classes, which will last 328 minutes. Next week, she hopes to attend 4 cardio Classes and 1 weightlifting class, which will last 168 minutes. How long is each class?