Answer
$a)$ $f^{-1}(x)=\dfrac{2}{x}$
$b)$ $f(f^{-1}(x))=f^{-1}(f(x))=x$
Work Step by Step
$f(x)=\dfrac{2}{x}$
$a)$
Substitute $f(x)$ by $y$:
$y=\dfrac{2}{x}$
Interchange $x$ and $y$:
$x=\dfrac{2}{y}$
Solve for $y$:
$xy=2$
$y=\dfrac{2}{x}$
Substitute $y$ by $f^{-1}(x)$:
$f^{-1}(x)=\dfrac{2}{x}$
$b)$
Verify the equation for the inverse function found by finding $f(f^{-1}(x))$. Substitute $x$ by $f^{1}(x)$ in $f(x)$ and simplify:
$f(f^{-1}(x))=\dfrac{2}{\Big(\dfrac{2}{x}\Big)}=\dfrac{2x}{2}=x$
Complete the verification process by finding $f^{-1}(f(x))$. Substitute $x$ by $f(x)$ in $f^{-1}(x)$ and simplify:
$f^{-1}(f(x))=\dfrac{2}{\Big(\dfrac{2}{x}\Big)}=\dfrac{2x}{2}=x$
Since $f(f^{-1}(x))=f^{-1}(f(x))=x$, the equation for the inverse function found is correct.