In the figure, a solid consists of a hemisphere surmounted by a right circular cone,…