Proof (harmonic function as real part of analytic function)
The real part of an analytic function is harmonic by the Cauchy-Riemann equations.
If $f: D\to \C$ is harmonic and $D$ is a disc around $z_0$, then $g = f_x - i f_y$ is analytic by Cauchy-Riemann, and define $$ \begin{align*} h(z) = f(z_0) + \int_{γ_z} g(w) \d w \end{align*} $$ where $γ_z$ is the straight line curve from $z_0$ to $z$. Check $h' = g$ and $f = \Re h$ (sheet 1 Q12).