Snell's law can be used to find the relation between the angles of refraction and the angle of incidence.
According to Snell's law the ratio of the sine of the angle of incidence and the sine of the angle of incidence for light entering glass from air would be equal to the ratio of the refractive index of glass and that of air.
You have not provided the refractive index of the glass, as different types of glass can have different refractive indices, let us assume the refractive index of glass is Nglass. The refractive index of air is 1.
If the angle of incidence is I,
for the angle of refraction equal to 24 degrees we have: sin I = (Nglass / 1)* sin 24.
for the angle of refraction equal to 37 degrees we have: sin I = (Nglass / 1)* sin 37.