If #dy/dx=2#, why is #dx/dy=1/2#?

What is the math explanation of this concept?