One centimenter is 0.01 meters. So, you can write the measures as
Once this rewriting is done, getting the total length is quite trivial, since all measurements are in the same unit, and we can simply sum everything:
6.0m questions
7.8m answers