The value of y varies directly with x. If x=4, then y=10. a. Find the constant of proportionality. b. Write an equation to represent the situation.