Let $h$ and $g$ be two complex-valued functions defined on a domain $\Omega$ such that $\Re h$ and $\Im g$ are harmonic and $\Im h = \Re g$. Show that there exists a real-valued harmonic function of the form $h + \lambda g$ where $\lambda$ is a constant to be determined.
My attempt at the problem is this:
let $h = a + ib$, $g = b + ic$
$a$ and $c$ are harmonic
Then $$h + \lambda g = a + ib + \lambda b + i\lambda c$$ $$ = a + \lambda b + i(b + \lambda c)$$
The laplacian of $h + \lambda g$ should be $0$ so that it is harmonic, but i'm not getting anywhere, i think i'm approaching the problem wrongly.
Any help would be much appreciated