Circumference = upper base a + lower base b + waist c + waist d
The perimeter of a trapezoid = upper base + lower base + sum of the lengths of the two sides