A quantity b varies jointly with c and d and inversely with f. When c is 4, d is 9, and f is 6, b is 18. What is the constant of variation?