As step 0, recall the notion of isomorphism of graphs. It is a trivial fact that if two graphs are isomorphic, then their connected components have the same number. But $G$ is not connected, but $G'$ is connected. Alternatively, find the minimal length of a cycle in $G$ resp. $G'$.
0
Bumbble Comm
On
Any of the following is enough to show that $G\ncong G'$.
As step 0, recall the notion of isomorphism of graphs. It is a trivial fact that if two graphs are isomorphic, then their connected components have the same number. But $G$ is not connected, but $G'$ is connected. Alternatively, find the minimal length of a cycle in $G$ resp. $G'$.