Think of the function $f$ and the relation $\subseteq$ as 'arrows'. Then you just have to start at the correct place and 'follow the arrows' correctly:
Let $x$ be in $f^{-1}(B_1)$. Then by definition, $f(x)$ is in $B_1$. Since $B_1$ $\subseteq$ $B_2$, $f(x)$ is in $B_2$. Then again by definition, $x$ is in $f^{-1}(B_2)$. QED.
_@Austin C : Drat, beat me._