It's hard to describe how to draw these compounds. However, I will try my best using the example provided. The example provided would look like this H-C(triple bond)C-H. First it is important to know how many electrons you are working with. In this case there are ten electrons. 8 from carbon and 2 from hydrogen. After you know this, you can draw the structure. Each carbon atom needs an octet or eight atoms surrounding it. Creating a triple bond with the other carbon and a single bond with one hydrogen atom allows for this to happen. It takes practice to master drawing structures but with time it gets easier! I hope this helped!