Hello! :)
If the area of a triangle is half of that of a square, and the total is 24 inches so we need 48 inches to then divide it by two to get 24 because it’s a triangle.
Then, you do 4 x what = 48?
The answer would likely be 12.
4 x 12 = 48
So the height is 12.
Finally, you do 48 / 2 (Area of triangle is half of square) = 24, to check.
Hope this helped and I hope I answered in time!
Good luck!
~ Destiny ^_^