Given the following shapes: a right_triangle with base 3 and height 8, a trapezoid with bases 9 and 3 and height 2, a right_triangle with base 4 and height 8. What is the total area of all shapes? Please round the result to the nearest integer.
<think>Right triangle with base 3 and height 8: Area = 0.5 x 3 x 8 = 12.0
Trapezoid with bases 9, 3 and height 2: Area = 0.5 x (9 + 3) x 2 = 12.0
Right triangle with base 4 and height 8: Area = 0.5 x 4 x 8 = 16.0</think>

<answer>40</answer>