Finding the maximum area of a rectangle with an inscribed triangle
I would like to determine a formula that describes the maximum possible area of a rectangle that has an inscribed non-right triangle which shares a vertex with the rectangle. Attached is my work so far. Is there a software I can use to test this formula or can anyone confirm that it is correct? Thanks.