Triangle Formation Rule