let L=24 the smallest length
40=40/24 L
56 is replaced with 56/24 L
48 = 48/24 L
then the sum of the 5 sides =L+ 40/24 L + 56/24 L +24/24 L + 48/24 L
sum of the 5 sides=240
then 240= L[1+10/6 +14/6 +1 +2]
240=L[4+ 24/6]
240=L[8
L=30
24,50,70,30,60 answer as to sides length
Arthur