A rectangular prism with labeled sides: AAAA are the four vertical parallel corners. BBBB and CCCC are…