The volume of a square prism with height of 21 inches and each side of the base s inches is given by the expression 7s2. Find the volume of a square prism if the length of a side is 3 inches