Double bonds and Triple bonds

T

How do u know if u need a double bond or triple bond while doing Lewis structure? I know how to set it up but when it comes to determining if I need a double bond or triple bond it gets tricky.

I already know the answer we did it in class it’s HCN.