Conditions for total internal reflection are:

3

2

5

4