The volume of a pyramid is given as 7x^3. The volume of the rectangular prism is given as 21x^4. In simplest form what is the ratio of the volume of the pyramid to the volume of the rectangular prism ?