Let b be the base of the triangle
(1/2)*b*8=24.
4*b=24
b=<<6=6>>6
#### 6