By definition, we have

${\displaystyle \displaystyle f^{-1}(D)=\{x\in A:f(x)\in D\}}$

and

${\displaystyle \displaystyle f(C)=\{y\in B:\exists x\in C{\text{ such that }}f(x)=y\}}$