$f(S \cup T) = f(S) \cup f(T)$
$f(S)$ encompasses all $x$ that is in $S$ $f(T)$ encompasses all $x$ that is in $T$
Thus the domain being the same, both the LHS and RHS map to the same $y$, since the function $f$ is the same for both.
Can you post the solution?