If you add a horizontal line where green touches red, and a vertical line where blue touches red, you get
The rectangles double the respective triangles' areas. The answer is 5+4+3 minus the area of the top-left x. But I couldn't solve that :(