Here is the code
\begin{figure}[h]
\begin{tikzpicture}
\coordinate (E) at (1.5,0);
\coordinate (F) at ($(E)+(20:15)$);
\coordinate (G) at ($(F)+(110:.2)$);
\coordinate (H) at ($(E)+(110:.2)$);
\coordinate (I) at ($(E)+(20:5)$);
\draw[fill,color=gray!50] (E) -- (F) -- (G) -- (H) -- cycle;
\begin{scope}[rotate around={-40:(I)}]
\draw[dashed] (E) -- (F) -- (G) -- (H) -- cycle;
\end{scope}
\end{tikzpicture}
\end{figure}
But I got the same tikzfigure drawn twice. I want the second draw to be the first one rotated -40 degrees about the coordinate I. I have noticed that the named coordinates persists in the rotation, but how can I achieve what I desired? It is dull to redefine the coordinates inside the scope and I want to avoid such a drudgery.
