Prove that $f(\{x\})=\{f(x)\}$ for all $x\in X$
Suppose $\gamma\in f(\{x\})$. Then there exists $\alpha\in\{x\}$ such that $f(\alpha)=\gamma$; namely, $\alpha=x_i$ for some $x_i\in X$. Thus, $\gamma=f(\alpha)=f(x_i)$; that is, $\gamma\in\{f(x)\}$.
Suppose $\gamma\in\{f(x)\}$. Then $\gamma=f(x_i)$ for some $x_i\in X$. That is, $\gamma\in f(\{x\})$.
Hence, $f(\{x\})=\{f(x)\}$.
Does this look correct? Any suggestions on how to improve it perhaps or have I gone wrong anywhere?
Let's just unwrap the definitions. If $f\colon X \to Y$ and we choose any $x \in X$, observe that: \begin{align*} f(\{x\}) &= \{f(\alpha) \in Y \mid \alpha \in \{x\}\} \\ &= \{f(\alpha) \in Y \mid \alpha = x\} \\ &= \{f(x)\} \\ \end{align*}