So if y varied directly with x it literally means that y is equal to some constant multiple of x, or if you divide both sides of this by x it means that y over x is equal to k so the ration between y and x is a constant.