Hi. Your question is incomplete. However, by the context of the question it is possible to consider that you want to calculate the amount of calories from the elements mentioned in the question above. In that case, I hope the answer below can help you.
To calculate calories, you must understand that each gram of protein and carbohydrate has 4 calories. Similarly, each gram of fat has 9 calories. So, to answer your question, you would multiply the grams of carbohydrate by 4, the grams of protein by 4, and the grams of fat by 9. This would be done as follows:
35 grams of carbohydrates * 4=140 calories
25 grams of protein * 4 = 100 calories
12 grams of fat * 9 = 108 calories