Step-by-step explanation:
Direct variation: y = kx
Find the constant k:
24 = 6k
24/6 = k
4 = k
Substitute then solve for y.
y = 4(12)
y = 48