Well it's not possible to find height with knowing cone B's height or radius .Steps provided below if you have pic you can solve by yourself.
- Radius is similar in both cones.(Ignore it)
- Height may be different but they must be similar.
- The ratio of height to volume remains same .
- Now put the values and solve for height of h