how can i make the content equal the same %? what did i do wrong?

Dinner: Chicken role protein
Fat content = 2.5 grams
1 gram contains fat of 9 calories
2 grams contain fat of 9 x 2.5 = 22.5 calories
Total quantity = 400 calories
Fat content = (22.5/400) x 100 = 5.625%

Protein content = 5 g
1 gram contains protein of 4 calories
8 grams contain protein of 5x4 = 20 calories
Total quantity = 350 calories
Protein content = (20/350) x 100 = 5.71%