An air bubble is trapped inside a glass slab of refractive index 1.5 and thickness 12cm. When viewed from one face, the bubble appears to be 5cm deep. When viewed from the opposite face, it appears to be 3cm deep. Calculate the actual distance of the bubble from the first face.