Which of the following BEST describes Fermat's principle:

W) light disperses in a specific medium depending on the medium's refractive index

X) light follows the path of least time between two points

Y) the angle of incidence can be greater than the angle of reflection

Z) light always travels in the same medium at the same speed
X) LIGHT FOLLOWS THE PATH OF LEAST TIME BETWEEN TWO POINTS