Answer:
28 square inches.
Explanation:
Notice that the yellow area is a compound area. Its height is 10 inches.
We can divide this area in three figures, one rectangle and two squares, where the square sides are 2 inches long.
So, the area of the squares is

On the other hand, the rectangle has a height of 10 inches, and its base is 2 inches long. So its area is

Therefore, the yellow area is

So, the answer is 28 square inches.