The ratio of time a student spends on their art project to time the student spends on their science project is 3:4. The total amount of time the student spends on projects for these classes is 56 minutes. How much time does the student spend for each subject?