Rearrange the family of lines by grouping terms with $$\lambda$$:
$$(x + 2y - 5) + \lambda(3x + 7y - 17) = 0$$
This is in the form $$L_1 + \lambda L_2 = 0$$. To find the fixed point $$P$$, solve the system:
$$x + 2y = 5$$
$$3x + 7y = 17$$
Multiplying the first equation by 3 and subtracting gives $$y = 2$$, which means $$x = 1$$. So, $$P = (1, 2)$$.
The line from this family that is farthest from the origin is the line perpendicular to the segment $$OP$$ (where $$O$$ is the origin $$(0,0)$$).
Slope of $$OP = \frac{2 - 0}{1 - 0} = 2$$. Therefore, the slope of line $$L$$ is $$-\frac{1}{2}$$.
Equation of line $$L$$ passing through $$P(1, 2)$$:
$$y - 2 = -\frac{1}{2}(x - 1) \implies x + 2y - 5 = 0$$
$$d = \frac{|3 + 2(6) - 5|}{\sqrt{1^2 + 2^2}} = \frac{|3 + 12 - 5|}{\sqrt{5}} = \frac{10}{\sqrt{5}}$$
$$d^2 = \frac{100}{5} = 20$$