Let C=Calories from Carbohydrates, P=Calories from Protein, F=Calories from Fat
We are given:
C = 4P
F = 2P
C+F+P = 2156
Substituting for C and F from the first two equations into the last equation:
4P + 2P + P = 2156
7P = 2156 --> P=308 Calories --> C=1232 Calories and F=616 Calories
Calories from Carbohydrates = 1232
Note: 1 Calorie = 1000 calories = 1 kilocalorie (when dealing with food, we are talking about kilocalories, or Calories with a capital C)