If x varies directly as y and x = 35 when y = 7, what is the value of y when x = 25?