For the sake of argument, lets assume this is, in fact, a right triangle with a rectangle inscribed in it.
Here is what looks like a very elegant solution:
Triangles A and B are similar
a/4=2/b
ab=8
But what is happening in that second line? Is there a property of similar triangles I'm forgetting?