The perimeter 2s = 32
So, s = 16.
One side is 15.
Let the second side be x.
So, the third side = 32 - 15 - x = 17 - x.
Area = 24 cm^2
So, 24^2 = s(s - 15)(s - x)(s - 17 + x)
So, 576 = 16(16 - 15)(16 - x)(16 - 17 + x)
So, 576 = 16*1(16 - x)( - 1 + x)
So, 576/16 = (16 - x)( - 1 + x)
So, 36 = - 16 + 17x - x^2
So, x^2 - 17x + 52 = 0
So, (x - 13)(x - 4) = 0
So, x = 13 or x = 4
So, the lengths of the remaining two sides are 4 cm and 13 cm.