Solution:
Concept: A line that cuts off intercepts a on the x-axis and b on the y-axis (both non-zero) has the equation ax+by=1 (intercept form). To read the intercepts of a given line, put y=0 to get the x-intercept and x=0 to get the y-intercept.
Step 1 — Write the two conditions. The segment joins (a,0) and (0,b), so by the distance formula and the product condition:
a2+b2ab=169=60
Step 2 — Find a+b and a−b. We use (a±b)2=a2+b2±2ab:
(a+b)2=169+120=289
(a−b)2=169−120=49
so a+b=±17 and a−b=±7.
Step 3 — Solve for a and b. Since ab=60>0, a and b have the same sign. Adding and subtracting the four sign choices gives
(a,b)=(12,5), (5,12), (−12,−5), (−5,−12)
Step 4 — Write the lines. We substitute each pair in ax+by=1:
12x+5y5x+12y12x+5y5x+12y=1=1=−1=−1
Note: The printed answer lists only the pairs (12,5) and (−12,−5) for (a,b). The pairs (5,12) and (−5,−12) satisfy both conditions just as well, since 25+144=169 and 5×12=60, so the printed answer is incomplete.
Therefore, (a,b) is (12,5) or (−12,−5), with lines 12x+5y=1 and 12x+5y=−1; the pairs (5,12) and (−5,−12) also work, with lines 5x+12y=1 and 5x+12y=−1.