A nutrition bar includes fat and protein in the ratio of 3:5. There are a total of 24 grams of fat and protein combined in the bar. If there are 9 calories per gram of fat and 4 calories per gram of protein, how many calories from fat and how many calories from protein are in the nutrition bar?