Hi guys,

I've got an interesting math problem that I'm struggling to solve. It's a little complicated to explain, but essentially it is this:

Given a point P that is contained by the convex hull of the squares A & B (A & B do not overlap).

A line intersects A at point P_{A}, B at point P_{B}, and point P; such that the ratio [distance from P_{A }to P] : [distance P to P_{B}] must be as large as possible (P_{A}to P being larger).

Calculate points P_{A and}P_{B. }

I'm not really sure how to calculate this, but if anyone could point me in the right direction I would be very grateful!

Thanks in advance!