Since the point at which the cable splits is (x , 0), we need (9 - x) units of cable to lay along the x-axis. At that point, we need two hypotenuses of right triangles with legs = 3 and x, so by pthag thm c = √(x2 + 9).
x: x-coordinate of split pt. f(x): total length of cable needed
f(x) = (9 - x) + 2√(x2 + 9)
f'(x) = - 1 + 2x / √(x2 + 9) = 0
-√(x2 + 9) + 2x = 0
4x2 = x2 + 9
x = √3
f"(x) = (2√(x2 + 9) - 2x2/√(x2 + 9)) / (x2 + 9)
f"(√3) = 6√2 - √2 / 18 > 0
So we need f(√3) = 9 - √3 + 6√2 units of cable at a minimum.