The structural formula of the compound is drawn in the picture attached. The leftmost carbon is attached to two hydrogens with single bonds and to another carbon through a double bond. In the second picture, it shows the guideline to the geometry of carbon. Since the carbon has one double bond, and two single bonds, it has a geometry of a trigonal planar.