First we will find the dimension of A
A is equal to the sum of the measures in red
[tex]A=5+4+5=14in[/tex]For B
as we can see in the image B=4in
[tex]B=4in[/tex]Then for the volume we will divide the figure in 2 different figures
First we will calculate the volume of the rectangular prims over the line in yellow
[tex]V=l\times w\times h[/tex]where
l=14 in
w=4 in
h=3 in
we substitute the values
[tex]V=14\times4\times3=168in^3[/tex]then we will calculate the volume of the prism under the line, in this case we have
l=4in
w=4in
h=3in
we substitute the values
[tex]V=4\times4\times3=48in^3[/tex]the total volume of the composed figure is
[tex]V=168+48=216in^3[/tex]