Here is a calculus problem, I've been trying to solve but I haven't been able to, please help me! thanks

A right circular cone has a height of 10 and a radius of 3. find the dimensions of the cylinder with maximum volume that can fit inside this cone such that the base of the cylinder lies on the base of the cone. Also give maximum volume and verify that the volume is a maximum.