Find the variation equation for the variation statement.

z varies directly as x and inversely as y; z = 3 when x = 24 and y = 40

Start with

z = kx/y

plug in the given values, solve for k,
then rewrite the equation using the k value