Paula knits hats. The number of hats h she can knit varies directly with the amount of yarn (y) in yards she has. The constant of proportionality is 42. Write an equation to represent the relationship between the number of yards of yarn Paula has and the number of hats she can knit.