Trapezoid machine