When having an ordered pair, we say they are in direct variation if the quotient:

is constant. For case 1 we have:

we can solve for "x" by multiplying by "x" on both sides:

Now we multiply by 32/80 on both sides:

Solving the operations we get:

For case 2 we have:

Now we solve for "y" by multiplying by 20 on both sides:

Solving the operations:
