A right circular cylinder is inscribed in a cone with height H and base radius R. Find the largest volume of such a cylinder (you should assume they are rotated about the same axis).

If you could please solve in a step by step manner and explain each step, I would greatly appreciate it. Thank you.