A rectangular pyramid has a volume of 492 cubic yards. if the base has a length of 18 yards and a width of 4 yards, what is the height of the pyramid?