Given the following shapes: a right_triangle with base 4 and height 1, a right_triangle with base 7 and height 1, a rectangle with width 6 and height 3, a rectangle with width 2 and height 3, a rectangle with width 6 and height 1, a right_triangle with base 5 and height 2. What is the total area of all shapes? Please round the result to the nearest integer.
<think>Right triangle with base 4 and height 1: Area = 0.5 x 4 x 1 = 2.0
Right triangle with base 7 and height 1: Area = 0.5 x 7 x 1 = 3.5
Rectangle with width 6 and height 3: Area = 6 x 3 = 18
Rectangle with width 2 and height 3: Area = 2 x 3 = 6
Rectangle with width 6 and height 1: Area = 6 x 1 = 6
Right triangle with base 5 and height 2: Area = 0.5 x 5 x 2 = 5.0</think>

<answer>40</answer>