The sides of a bases of a pentagonal prism are 4 cm, 5 cm, 7 cm, 9 cm and 10 cm. Its height is 6 cm. Find the total length of its edges (in cm)