let the original price be x.
then,
x- 25% of x= 24
x- 25x/100 = 24
x- x/4=24
3x/4=24
3x= 96
x= 32
in short...the original price= 32 dollars
let length of one piece = x
length of other piece = 236-x
one piece is three times the length of the other
x=3(236-x)
x=708-3x
4x=708
x=177
so first piece is 177 inches long and second piece is (236-177)= 59 inches long