Answer: 40 cubic inches
=============================================================
Step-by-step explanation:
This pyramid is strangely drawn, but 3D objects are hard to convey on a 2D surface sometimes. The shaded triangle represents the floor of the pyramid. This triangle has a base of 5 inches and height 6 inches.
area = base*height/2 = 5*6/2 = 30/2 = 15
The floor area is 15 square inches.
This is the value of the uppercase B in the formula V = (1/3)*B*h
The h is the height of the pyramid which is the 8 inch segment (not to be confused with the 6 inch segment)
So,
V = (1/3)*B*h
V = (1/3)*15*8
V = 5*8
V = 40 cubic inches