Question: how do you get the constant of proportionality?
Answer: The constant of proportionality k is given by k=y/x where y and x are two quantities that are directly proportional to each other. Once you know the constant of proportionality you can find an equation representing the directly proportional relationship between x and y, namely y=kx, with your specific k.