To find:
The values of the unknowns.
Solution:
It is known that in a triangle, the centroid divides each median in the ratio of 2:1.
a)
In the first triangle, we have OC : OE = 2:1. So,

And AO : OF = 2:1. SO,

And BO : OD = 2:1. So,

Thus, we get BO = 4 cm, OF = 3 cm, EO = 2.5 cm.
b)
In the second triangle, given that AE = 10 cm, DO = 3 cm. Since the centroid divides each median in the ratio of 2:1. SO,

And OC : DO = 2:1. SO,

Thus, DC = 9 cm, AO = 20/3 cm.