This exercise was taken from the book "Fundamental Groups and Covering Spaces", from Elon Lages Lima.
"Let $X=C_1\cup\cdots\cup C_k$ be a finite union of convex open sets in the Euclidean space $\mathbb{R}^n$. Suppose that $C_i\cap C_j=\varnothing$ if, and only if, $j=i+1$ (or $j=i$, or $j=i-1$) or $\left\{i,j\right\}=\left\{1,k\right\}$. Prove that $X$ has the homotopy type of a circle."
The hint is to consider points $x_i\in C_i\cap C_{i+1}$ (and $x_0\in C_k\cap C_1$), and maybe try to deform $X$ to the polygon of sides $x_0x_1,\ldots,x_{k-1}x_0$.
Thank you.
This is not exactly an answer to the question but something to help people. I'm trying to find this exercise on the Portuguese version of the book. Probably there is some error on the text.
On the English version, there are two exercises about this.
On the Portuguese version, the same exercises.
So I believe that it is missing to require that any three of them have empty intersection.