Please help me with this math problem :)

Answer: 40yd²
Step-by-step explanation:
So to work this out you would have to split this shape into 2 separate ones: a triangle and a square.
To work out the area of the square you do 4x4=16 (formula for the area of a square is l×h)
Then to work out the area of the triangle you need the formula which is bxh/2 in this question it would be 6x(4+4)/2=24
Then to work out the area of the whole shape you add the two areas together so 16+24=40