Similarsolids have the same shape and all of their corresponding dimensions are proportional. The ratio of the corresponding linear dimensions is the scale factor. If the scale factor of two similar solids is a:b, then the ratio of their corresponding volumes is a^3:b^3. Consider the given cylinders.
Let's write the ratio of the corresponding sides as a fraction and raise it to the power of three to find the scale factor of the volumes.