document.write( "Question 757067: two towns a and b are 7 miles apart. they want to build a new school to serve 380 students from a and 2120 students from b. how far from a should the school be built if the total distance traveled by all 2500 students is the smallest possible? \n" ); document.write( "
Algebra.Com's Answer #460605 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Two towns a and b are 7 miles apart.
\n" ); document.write( "They want to build a new school to serve 380 students from a and
\n" ); document.write( " 2120 students from b.
\n" ); document.write( "How far from a should the school be built if the total distance
\n" ); document.write( " traveled by all 2500 students is the smallest possible?
\n" ); document.write( ":
\n" ); document.write( "Build the school in town b
\n" ); document.write( "then
\n" ); document.write( "380*7 = 2660 total miles traveled (2120 students travel 0 miles)
\n" ); document.write( ":
\n" ); document.write( "For example, if the school was built 6 mi from a, then:
\n" ); document.write( "total miles = 6(380) + 2120(1) = 4460 mi traveled by all 2500
\n" ); document.write( "Much larger total
\n" ); document.write( "
\n" );