I'm a hobby gem faceter and am trying to figure out some of the math involved. What I want to know is assuming I have a piece of glass, refractive index of 1.54 (or anything for that matter) at what angle would the light need to enter it to be deviated by a certain amount?

For instance, using Snell's law, I know that if a beam of light goes into glass at a 45 degree angle (from the norm), it will travel through the glass at about 27 degrees. The light has deviated by 18 degrees. What angle would I need it to enter if I wanted it to deviate by 25 degrees?

Thanks for any help.