What is the perimeter of an irregular hexagon with sides 10 cm, 4 cm, 8 cm, 4 cm, 2 cm, and 7 cm?