Given the following shapes: a right_triangle with base 9 and height 2, a trapezoid with bases 1 and 2 and height 3, a right_triangle with base 5 and height 2, a rectangle with width 3 and height 7. What is the total area of all shapes? Please round the result to the nearest integer.
<think>Right triangle with base 9 and height 2: Area = 0.5 x 9 x 2 = 9.0
Trapezoid with bases 1, 2 and height 3: Area = 0.5 x (1 + 2) x 3 = 4.5
Right triangle with base 5 and height 2: Area = 0.5 x 5 x 2 = 5.0
Rectangle with width 3 and height 7: Area = 3 x 7 = 21</think>

<answer>40</answer>