document.write( "Question 638020: At the same time, two hikers took off, one from city B to city A and the other from city A to city B. They hiked the same distance and their speeds were constant. They met on the way, and it was revealed that the hiker from city B to city A traveled two km more than the other hiker. This hiker arrived to city A 40 minutes after the two met, and the hiker from city A arrived to city B an hour and a half after they met. What is the distance of the trail? \n" ); document.write( "
Algebra.Com's Answer #402254 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
At the same time, two hikers took off, one from city B to city A and the other
\n" ); document.write( " from city A to city B.
\n" ); document.write( "They hiked the same distance and their speeds were constant.
\n" ); document.write( "They met on the way, and it was revealed that the hiker from city B to city A
\n" ); document.write( " traveled two km more than the other hiker.
\n" ); document.write( "This hiker arrived to city A 40 minutes after the two met, and the hiker from
\n" ); document.write( " city A arrived to city B an hour and a half after they met.
\n" ); document.write( " What is the distance
\n" ); document.write( ":
\n" ); document.write( "Do this using minutes for the time
\n" ); document.write( "let t = travel time to the point where they met
\n" ); document.write( ":
\n" ); document.write( "let x = dist from A to the meeting point
\n" ); document.write( "and
\n" ); document.write( "(x+2) = dist from B to the meeting point
\n" ); document.write( "then
\n" ); document.write( "x + (x+2) = 2x+2 km is the distance from A to B
\n" ); document.write( ":
\n" ); document.write( "A<-----40min------*---------t min-------< B(hiker B's path)\r
\n" ); document.write( "\n" ); document.write( "A------x km-------*-------(x+2)km-------B\r
\n" ); document.write( "\n" ); document.write( "A>-----t Min------*--------90min--------> B (hiker A's path)
\n" ); document.write( ":
\n" ); document.write( "Hiker B,
\n" ); document.write( "\"t%2F40\" = \"%28%28x%2B2%29%29%2Fx\"
\n" ); document.write( "Cross multiply
\n" ); document.write( "tx = 40(x+2)
\n" ); document.write( "tx = 40x + 80
\n" ); document.write( "t = \"%2840x%2B80%29%2Fx\"
\n" ); document.write( ":
\n" ); document.write( "Hiker A
\n" ); document.write( "\"t%2F90\" = \"x%2F%28x%2B2%29\"
\n" ); document.write( "Cross multiply
\n" ); document.write( "t(x+2) = 90x
\n" ); document.write( "t = \"%2890x%29%2F%28x%2B2%29\"
\n" ); document.write( ":
\n" ); document.write( "t=t, therefore:
\n" ); document.write( "\"%2890x%29%2F%28x%2B2%29\" = \"%2840x%2B80%29%2Fx\"
\n" ); document.write( "Cross multiply
\n" ); document.write( "90x^2 = (x+2)(40x+80)
\n" ); document.write( "FOIL
\n" ); document.write( "90x^2 = 40x^2 + 80x + 80x + 160
\n" ); document.write( "90x^2 = 40x^2 + 160x + 160
\n" ); document.write( "Combine on the left
\n" ); document.write( "90x^2 - 40x^2 - 160x - 160 = 0
\n" ); document.write( "50x^2 - 160x - 160 = 0
\n" ); document.write( "Simplify, divide by 10
\n" ); document.write( "5x^2 - 16x - 16 = 0
\n" ); document.write( "Factors to
\n" ); document.write( "(5x + 4)(x - 4) =
\n" ); document.write( "The positive solution is all we want here
\n" ); document.write( "x = 4
\n" ); document.write( "\"What is the distance?\"
\n" ); document.write( "2(4) + 2 = 10 km is the distance from A to B
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Confirm this, find t
\n" ); document.write( "t = \"%2890%2A4%29%2F%284%2B2%29\"
\n" ); document.write( "t = 60 min
\n" ); document.write( "Find the speed of A & B
\n" ); document.write( "A's time in hrs (90+60)/60 = 2.5 hrs
\n" ); document.write( "A's speed 10/2.5 = 4 km/hr
\n" ); document.write( "and
\n" ); document.write( "B's time in hrs (40+60)/60 = 1\"2%2F3\" hrs
\n" ); document.write( "A's speed 10/1.67 ~ 6 km/hr
\n" ); document.write( ":
\n" ); document.write( "Find how far each traveled in 1 hr (t)
\n" ); document.write( "B: 6 km
\n" ); document.write( "A: 4 km
\n" ); document.write( "---------
\n" ); document.write( "dif: 2 km
\n" ); document.write( "
\n" ); document.write( "
\n" );