If y varies inversely with x, and y = 5 when x = 7, what is the value of y when x = 4?