document.write( "Question 859412: On a mother's 22-mile commute to work, she drops her daughter off at a child care center. The first part of the trip is 6 miles less than the second part. How long is each part of her morning commute? \n" ); document.write( "
Algebra.Com's Answer #517716 by Awesom3guy(31)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "Call the first part x and the second y.
\n" ); document.write( "\"x+%2B+y+=+22\"
\n" ); document.write( "And
\n" ); document.write( "The first part of the trip is 6 miles less than the second part.
\n" ); document.write( "\"x+=+y+-+6\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now substitute \"y-6\" in the place of x in the first equation and solve for y.
\n" ); document.write( "\"%28y-6%29%2By+=+22\"
\n" ); document.write( "\"2y+-+6+=+22\"
\n" ); document.write( "\"2y+=+28\"
\n" ); document.write( "\"y+=+14\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug this value in the place of any equation to solve for x.
\n" ); document.write( "\"x+=+y+-+6\"
\n" ); document.write( "\"x+=+14+-+6\"
\n" ); document.write( "\"x+=+8\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The first part of her commute is 8 miles long and the second 14.
\n" ); document.write( "
\n" );