Some reading will help you understand the subject, and also help you solve other problems faster.
Read, for example:
http://en.wikipedia.org/wiki/Total_internal_reflection
State the conditions for total internal reflection
1 answer