Given the following shapes: a square with side 1, a square with side 1, a right_triangle with base 8 and height 2, a square with side 4, a rectangle with width 5 and height 2, a right_triangle with base 7 and height 1. What is the total area of all shapes? Please round the result to the nearest integer.
<think>Square with side 1: Area = 1^2 = 1
Square with side 1: Area = 1^2 = 1
Right triangle with base 8 and height 2: Area = 0.5 x 8 x 2 = 8.0
Square with side 4: Area = 4^2 = 16
Rectangle with width 5 and height 2: Area = 5 x 2 = 10
Right triangle with base 7 and height 1: Area = 0.5 x 7 x 1 = 3.5</think>

<answer>40</answer>