Sufficient Conditions for Graphs to Have Threshold Number 2