circumference = upper base a + lower base b + waist c + waist d
trapezoidal perimeter = upper base + lower base + sum of two waist lengths