The volume of a cylinder is the base area times its height, which means

So, plugging the values from the second cylinder, we have

And solving for h we have

Now, we know that cylinders A and B are similar, which means that corresponding parts are in the same proportions:

we know both radii, and the height of figure B, so we can solve for the height of figure A:

So, the volume of figure A is

Note:
There is a shortcut for these kind of exercise. Once you know the constant of proportion, you can use it for areas and volumes as well. In this case, the rate of proportion is 5:2 (just compare the radii). So, the volume will scale with a factor of (5/2)^3, and we could simply have used
