Final answer:
In a direct variation with y=24 when x=2, the constant of variation is k=12. To find y when x=7, we use y=kx, which calculates to y=84.
Step-by-step explanation:
If there is direct variation between x and y, we can say that y varies directly as x. This implies that y = kx where k is the constant of variation. Given that y = 24 when x = 2, we can find the constant of variation by dividing y by x, which gives us k = 12.
To find y when x = 7, we substitute x with 7 in the direct variation equation y = kx. Therefore, y = 12 * 7 which equals 84. Hence, when x = 7, y = 84.