The question asks to show that a sigma-algebra $\mathcal A$ consisting of $A$ s.t. $A=f^{-1}(B)$, where $B$ is in $\mathcal B$ are Borel subsets of $R$ and $f$ is continuous, is contained in $\mathcal B$.
I proceeded to simply argue that $f^{-1}(B)$ will be open for open $B$ since $f$ is continuous and that would put $\mathcal A$ in $\mathcal B$.
The publisher of the text has also made available a solution for this problem. In there, after arguing that $f^{-1}(B)$ is open just like I had done, a sigma-algebra $\mathcal L$ consisting of $B$ s.t $A=f^{-1}(B)$ is constructed and it is shown that $\mathcal L$ contains $\mathcal B$. It is claimed that this proves that $f^{-1}(B)$ is in $\mathcal B$ and only after that it is argued that $\mathcal A$ is in $\mathcal B$. I am not sure why $\mathcal L$ needed to be constructed in the first place and why a direct argument based on the openness of $f^{-1}(B)$ is not sufficient to answer the problem.