Diameter of the sphere = 6 cm
Radius = 3 cm
\[~volume\text{ }=\text{ }4/3\text{ }\pi {{r}^{3~}}=\text{ }4/3\text{ x }22/7\text{ x }3\text{ x }3\text{ x }3\text{ }=\text{ }792/7\text{ }c{{m}^{3}}~\ldots ..\text{ }\left( i \right)\]
Diameter of cylindrical wire = 0.2 cm
\[The\text{ }radius\text{ }of\text{ }the\text{ }wire\text{ }=\text{ }0.2/2\text{ }=\text{ }0.1\text{ }=\text{ }1/10\text{ }cm\]
Let length of wire = h
\[\begin{array}{*{35}{l}}
Volume\text{ }=\text{ }\pi {{r}^{2}}~h\text{ }=\text{ }22/7\text{ x }1/10\text{ x }1/10\text{ x }h\text{ }c{{m}^{3}}~=\text{ }22h/700\text{ }c{{m}^{3}}~\ldots ..\text{ }\left( ii \right) \\
22h/700\text{ }=\text{ }792/7 \\
h\text{ }=\text{ }792/7\text{ x }700/22 \\
h\text{ }=\text{ }3600\text{ }cm\text{ }=\text{ }36\text{ }m \\
\end{array}\]
Therefore, length of the wire = 36 m