Answer
$y = -\dfrac{16}{x}$
Work Step by Step
The general function form for inverse variation is $y = \frac{k}{x}$, where $k$ is the constant of variation.
If $y$ varies inversely with $x$, plug the given values into this formula to find the constant of variation:
$-8 = \dfrac{k}{2}$
Multiply each side of the equation by $2$ to isolate $k$:
$\begin{align*}
2(-8)&=\frac{k}{2} \cdot 2\\
-16&=k
\end{align*}$
Replace $k$ in the formula with the value we just found:
$y = -\dfrac{16}{x}$