In the frustum of a cone the bottom diameter is thrice the top diameter if the height of the frustum is 12cm calculate the height of the whole cone