The volume of a prism is found by multiplying the area of the base by the height. A rectangular prism has a volume of 144 cm cubed, and a square base with a width of 3 cm. What is the height of the prism, in cm?