The question at hand is:
Let $f(z)$ be an analytic function on a connected open set $D$. If there are two constants $c_1$, $c_2$ $∈C$, not all zero,such that $c_1 f(z)+c_2\overline{f(z)}=0 $, $\forall z∈D$,then $f(z)$is a constant on $D$.
I think the trick is to use Cauchy-Riemann equations, however I did not come far.
Now I have been studying complex analysis for about a month now, and find it fascinating, however I have been struggling intuitively, which is kind of encapsulated in the question because it looks like in can easily solved but I do not know what property of holomorphic functions should I use. I am asking not so much for a solution, more like a hint/advice how I should approach exercises that rely on function being holomorphic.