Given the following shapes: a square with side 3, a right_triangle with base 9 and height 7. What is the total area of all shapes? Please round the result to the nearest integer.
<think>Square with side 3: Area = 3^2 = 9
Right triangle with base 9 and height 7: Area = 0.5 x 9 x 7 = 31.5</think>

<answer>40</answer>