A group of students is conducting a science experiment to determine the effect of fertilizer on plant growth. They divide 30 plants into three groups based on the amount of fertilizer applied: Group A receives no fertilizer, Group B receives 5 grams of fertilizer, and Group C receives 15 grams of fertilizer. The heights of the plants from each group after four weeks are recorded. The height ratio of plants from Group A to Group B is 4:5, and the height ratio of plants from Group B to Group C is 2:3.
If the total height of the plants in Group A is 40 cm, what is the total height of the plants in Group C, given the ratios provided?