document.write( "Question 1188919: John was visiting four cities that form a rectangle on a coordinate grid at A(0, 4), B(4, 1), C(3, -1) and D(-1, 2). If he visited all the cities in order and ended up where he started, what is the distance he traveled? Round your answer to the nearest tenth. \n" ); document.write( "
Algebra.Com's Answer #820112 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use the distance formula to calculate the length of each side AB, BC, CD, DA of the figure.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then calculate the perimeter of the figure taking the sum of the side lengths.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Happy calculations (!)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );