how is a triangle and a trapezoid alike

Straight line figures?