Triangle Revisited [math]

I noticed a problem online where the areas of triangles were related to the area of a square:

Triangle Revisited [math]
This is very similar to a problem previously seen:

Triangle Revisited [math]