Find the cost of polishing the tiles at the rate of 50 paise per cm

A floral design on a floor is made up of 16 tiles which are triangular, the sides of the triangle being 9 cm, 28 cm, and 35 cm (see figure). Find the cost of polishing the tiles at a rate of 50 paise per cm.
image

image