What are the two ways you can determine what type of bond a compound contains?​