Two solid cones \(A\) and \(B\) are placed in a cylindrical tube of length(l) \(21\) and diameter(d) \(6\) shown in the Fig. The ratio of their capacities are \(2:1\). Find the heights and capacities of cones. Also, evaluate the volume of the remaining portion of the cylinder.

Height of cone \(A=\) \(cm\)
Height of cone \(B=\) \(cm\)
Volume of cone \(A=\) \(cm^3\)
Volume of cone \(B=\) \(cm^3\)
Volume of remaining portion \(=\) \(cm^3\)