During the summer, Kurt works on his uncle's goat farm. One of Kurt's many chores is to milk the goats. The proportional relationship between the number of hours milking, x, and the number of goats milked by Kurt, y, can be modeled by the equation y = 6x. If Kurt milked 21 goats, how many hours did it take?