Find the volumes of Prism A and Prism B, and then find the ratio of the volumes.

Prism A:A rectangular prism a length of 4 cm, width of 1 cm, and height of 2 cm.

Prism B: A rectangular prism a length of 8 cm, width of 2 cm, and height of 4 cm.