How do I connect the vertices in the same mesh/shape?
Join them Using Alt+M.

To do this select the Top Left Vert.

While holding Shift, Select the bottom left Vert.

Then Do Alt+M, and select At Center.

Repeat for the Verts at the right.