The law of refraction, also known as Snell's Law, is the "bending of the path of a light wave as it passes across the boundary separating two media". Meaning, the image of a refracted object seems bent, shorter than it really is, or broken. This happens because of the change in speed by a wave that
changes medium. Each object has its own index of refraction which is why the light bends for example coming from air to acrylic. Air has an index of 1.00 and acrylic has an index of 1.49. The denser the object, the higher the index.This is an example of how you can sketch refraction:
With the info we are given, we come up with the equation for refraction or Snell's law as--> . In the picture below shows us a real life example of refraction. So take the first glass on the left for example. The pencil seems like its broken at the bottom. The reason why it seems like that because the index of wood is 1.3 is much denser than water so the refracted ray bends more than the incident ray.