task2 triangle