Let $X$ be a set, $(Y,\tau)$ a topological space, $f:X\rightarrow Y$ a surjection, and define $\tau_f=\{U\subset X\,|\,f(U)$ is $\tau$-open in $Y\}$. I'm trying to determine whether $\tau_f$ is a topology on $X$. It's not hard to see that $\varnothing,X\in\tau_f$. Moreover, since $$\bigcup_{\alpha\in\mathcal{J}} f(U_\alpha)=f\left(\bigcup_{\alpha\in\mathcal{J}} U_\alpha \right),$$ it's clear that $\tau_f$ is closed under arbitrary unions. But I'm having trouble showing $\tau_f$ is closed under finite intersections (an equality like the one above doesn't hold for intersections), and I could not find any counterexamples. I basically just looked at $X=Y=\mathbb{R}$ with different topologies on $Y$ (standard, lower-limit, discrete, indiscrete) and different choices of $f$ to try to find a counterexample, but failed.
I would appreciate a hint for the intersection part. Thanks in advance.