Each square unit is one unit. Each triangle is half a unit.
Shape 1 has 6 units and 4 half units.
6 + 4/2 =
6 + 2 =8
Shape 1 has 8 units.
Shape 2 is almost like shape 1 but it has an extra bit which would make it larger than shape 1.
So shape 2 is larger than shape 1.