For the given solid figure find the value of the variable

Step-by-step explanation:
8×3= 24 the answer is 24 l think so