A light ray passes from air to denser medium of certain thickness and emerges on the other side. If the emergent ray is parallel to the incident ray, the distance traveled by the ray of light in the denser medium is 6 cm, and the angle of incidence and refraction are 600 and 300 respectively, find the lateral displacement of the light ray.