A rectangular prism has a height of 3 inches and a volume of 27 cubic inches. The height of this prism is changed to 6 inches, and the other dimensions stay the same. What is the volume of the prism with this change?

f 30 cubic inches
g 54 cubic inches
h 81 cubic inches
j 162 cubic inches

j 162 cubic inches