A quantity h varies directly with w and inversely with p. If h = 2, w = 4, and p = 6. What is the constant of variation?