Suppose the base of the left triangle is
b1 Then the area of the left triangle is
21b1⋅6
Suppose the base of the right triangle is
b2 Then the area of the right triangle is
21b2⋅6
Note that
b1+b2=16
Now the total area of the triangles is
21b1⋅6 +
21b2⋅6 21(b1+b2)⋅6 =
21⋅16⋅6=48