need help with math probelem i will give you 5 stars and a good rating

Answer:
8 feet
Step-by-step explanation:
12 x 2 =24
40 - 24 = 16
16 /2 = 8
Hope it helps :)