For $x,y ∈ \mathbb{R}^d$, let $L(x,y) = \{(1−t)x+ty | 0 ≤ t ≤ 1\}$. A nonempty subset $E ⊆ \mathbb{R}^d$ is called polygonally connected if for any $x,y ∈ E$ there exists $x = x_0, x_1, ..., x_n =y ∈ E$ such that $L(x_{j−1},x_j)⊆E$ for all $j=1,...,n.$
Prove that if $E$ is open and pathwise connected then $E$ is polygonally connected.
My attempt: E is pathwise connected, then there exists a $v:[0,1]\to E$, for all $n \in \mathbb{N}$, $v(1/n)$ are on the path. Then $L(v(1/a),v(1/{a+1}))$ are under $E$.
I feel like I can't say the last sentence, can you give me some hints or point me to the right direction if I'm heading towards the wrong way. Thanks a lot in advance.
Take $x \in E$. Let $A \subseteq E$ be the set of all points $y \in E$ such that $x,y$ are polygonally connected through $E$. Note $A$ is nonempty, since it contains $x$. Also, $A$ is open in $E$ since for any $y_1 \in A$, we can take a small neighborhood $U$ around $y_1$ such that $U \subseteq E$, and then for any $y_2 \in U$, we can trivially polygonally connect $y_1$ to $y_2$. Finally, $A$ is closed in $E$, since if $(x_n)_n \in A$, $x_n \to x \in E$, then we can find an open set $U \ni x$ contained in $E$; and since some $x_n$ is in $U$, we can polygonally connect $x_n$ to $x$ to see that $x \in A$. Since $E$ is connected, we see $A = E$, as desired.