\(\mathrm{H}=\frac 12[\) Valence electron of the central atom \(+\) no of surrounding atomcation \(+\) anion]
\(=\frac 12[4+3-1+0]\)
\(=6 / 2=3\)
$\begin{array}{*{20}{c}}
{C{H_2} - C = CH - C - N{H_2}} \\
{|\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,|\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,||\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,} \\
{N{H_2}\,\,\,\,\,\,\,\,\,\,OC{H_3}\,\,\,\,\,\,\,\,\,\,\,\,\,\,O\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,}
\end{array}$