Calculate the refractive index of the material of the glass block shown in the diagram…