Answer:

Step-by-step explanation:
Width of rectangular face of prism A = x+2
Area of rectangular face of prism A = 5x+10
So, length of rectangular face of prism A = 
Now , the length of rectangular face of prism B is 2x+1
Since we are given that the prisms are congruent
So, Length of rectangular face of both prisms must be equal
So, 


So,the length of rectangular face of prism B = 2x+1 = (2*2)+1=5
Thus the height of prism = 5 cm
Volume of prism = 
= 
Where a is the side of triangle
Side of triangle = width = x+2=2+2=4
So, Volume of prism = 
= 
=
Hence the volume of prism is 