Describe the path of a ray of light passing through the right-angled isosceles prism placed in a medium with refractive index nā, considering the refractive index of the prism to be nā. Provide insights into how the angles of incidence and refraction are related to the refractive indices of the prism and the surrounding medium.