A composite prism ABC is made up of two identical right-angled prisms ABD and ADC made up of different materials of refractive indices 3 and respectively. A ray of light is incident on face AB of this prism at 60 as shown in the figure. It is observed that the final emergent ray grazes along with face AC. Find the value of .