Three cones with vertex touch each other externally, with the first two having an apex angle of . Each of the cones touches internally a fourth cone with a vertex at point and an apex angle of . Find the apex angle of the third cone. (The apex angle of a cone is defined as the angle between its generatrices in the axial section.)