text: ```Question 570724
  The town of Foxton lies 10 mi north of an abandoned east-west road that runs through Grimley, as shown in the figure.
  The point on the abandoned road closest to Foxton is 60 mi from Grimley.
  County officials are about to build a new road connecting the two towns.
  They have determined that restoring the old road would cost \$100,000 per mile, while building a new road would cost \$200,000 per mile.
  How much of the abandoned road should be used (as indicated in the figure) if the officials intend to spend exactly \$8.8 million?
  :
  This is a triangle problem has a right angle at a point on the old road directly south of Fox
  :
  Leg 1 = 10 mi
  leg 2 = x, the distance from a point due south of F, to where the new road joins the old road
  then
  Road dist from F to G = hypotenuse + (60-x)
  :
  Cost: hypotenuse 200,000 per mile; (60-x) \$100,000 per mile
  :
  Do this in 100 thousands of dollars, to avoid writing all these zeros
  :
  {{{2*sqrt(10^2 + x^2)}}} + 1(60-x) = 88
  {{{2*sqrt(100 + x^2)}}} = 88 - (60-x)
  {{{2*sqrt(100 + x^2)}}} = 88 - 60 + x
  {{{2*sqrt(100 + x^2)}}} = x + 28
  Square both sides
  4(100+x^2) = (x+28)^2
  400 + 4x^2 = x^2 + 56x + 784
  Combine like terms on the left
  4x^2 - x^2 - 56x + 400 - 784 = 0
  3x^2 - 56x - 384 = 0
  we can use the quadratic formula here, but this will factor to:
  (x-24)(3x+16) = 0
  The positive solution
  x = 24
  then
  {{{sqrt(10^2+24^2)}}} = 26 mi
  :
  60 - 24 = 36 mi
  :
  If we did this right, the cost should be 8.8 million
  26(200000) = \$5,200,000
  36(100000) = \$3,600,000
  ------------------------
  total road:  \$8,800,000 which is 8.8 million
  :
  :
  How much would it cost to build a new road connecting the towns directly?
metadata: {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}