If f(x) varies directly with x and f(x) = 24 when x = –4, then what is f(x) when x = 12?