triangle and its properties