Volume of the prism =area of the base*height
A(base) =A(Δ)= 1/2*base(Δ)*height(Δ)
We have right triangle, so one leg is a base, and second leg is a height of the triangle.
A(Δ)= 1/2*base(Δ)*height(Δ)=(1/2) *6*8= 24 units²
Volume of the prism =area of the base*height =24 *7 = 168 units³
Answer is B. 168 units³.