Allo, consider the following proof,
I don't understand the claim that if $X$ is a vertex cover for $G'$, then $X\cup \{w\}$ is a vertex cover for $G$.
Consider the following example, let $G$ be:

Here is one of its spanning tree:

Let $w$ be vertex $3$. Then vertex set $\{0\}$ is a vertex cover for $G'$, but $\{0,3\}$ is not a vertex cover for $G$. Is the proof correct? How do you prove it?
You don't hit that case in your example. Both nodes 2 and 5 have degree 2 in $G$.