Solve for the indicated variable

• If y varies directly as x and y=24 when x=6
find the variation constant and
the equation of
variation​