Right rectangular prism P is similar to right rectangular prism Q. The surface area of right rectangular prism P is 20 square centimeters (), and the surface area of right rectangular prism Q is 180 . The volume of right rectangular prism Q is 270 cubic centimeters (). What is the sum of the volumes, in , of right rectangular prism P and right rectangular prism Q?