The yellow rectangular block has 5 sides::
a top of 6 x 8
a bottom of 6 x 8
a front of 7 x 8
a back of 7 x 8
a left side of 6 x 7
The green trianglular block has 4 sides:
the bottom of 6 x 6
the right side of 6 x 9
the front triangle of ½ x 6 x 7
the back triangle of ½ x 6 x 7
Find those areas and add them together ...