Answer
Please see the work below.
Work Step by Step
We know that the light coming upward from the bottom of the mug is bent away from the normal if the mug is completely filled with water. Therefore, the light can propagate to our eyes and make the bottom of the mug visible.