Let the sides of the triangle be 12x cm 17x cm and 25x cm.

Perimeter of the triangle = 540 cm

∴ 12x + 17x + 25x = 540

⇒ 54 x = 540

⇒ x = 540/ 54 = 10

∴ Sides of the triangle are (12 × 10) cm, (17 × 10) cm and (25 × 10) cm i.e., 120 cm, 170 cm and 250 cm.

Now, suppose a = 120 cm, b = 170 cm, c = 250 cm,

∴ s = a +b + c/ 2 = 540/ 2 cm = 270 cm

Area of the triangle