Let z be a complex number such that |z|=1.
Find the maximum value of |1+z|+|1-z+z2|.
The answer to your question is 40/7. I hope this helps!