Two cones are similar

Cone 1 r=5 h=15
Cone 2 r=? h=18
What is the length of the radius of cone 2?
is it 7?

I'm also having trouble with this:

A cone has a radius of 40 cm and a volume of 1875 cm cubed what is the volume of a similar cone with a radius of 16 cm?
I think it's 113 m squared but I'm not sure.

It's okay guys I figured it out. I failed and it gave me the right answers.

good. Do you know how they arrived at the right answers?

To determine the length of the radius of cone 2, we need to use the concept of similarity between the two cones.

Since the two cones are similar, their corresponding dimensions are proportional. This means that the ratio of the radii is the same as the ratio of the heights.

Using the given dimensions:
Cone 1: r1 = 5, h1 = 15
Cone 2: r2 = ?, h2 = 18

We can set up the following proportion based on the similarity of the cones:
r1/h1 = r2/h2

Plugging in the values:
5/15 = r2/18

Simplifying the ratio:
1/3 = r2/18

To solve for r2, we cross multiply:
1 * 18 = 3 * r2
18 = 3r2

Lastly, divide both sides of the equation by 3 to solve for r2:
r2 = 6

Therefore, the length of the radius of cone 2 is 6, not 7.