First to clarify the problem, it should be
There are many different solutions here, but most rely on using the ratio of areas for triangles when they share a base or share a height.
For example, let
Using this type of reasoning is key to the problem. One nice way to proceed is to let