The speed of light in a certain medium is V while its speed in a…