A frustum of height 4 is part of a larger pyramid of height 6. What is the ratio of the volume of the frustum to the volume of the pyramid?