document.write( "Question 1003379: one book shelf contains 5 times as many book as another book shelf. when 20 books were moved from the first to the second, the first had 3 times as much as the second. how many books did each have originally? \n" ); document.write( "
Algebra.Com's Answer #620112 by maxitee(11)\"\" \"About 
You can put this solution on YOUR website!
Let's take the First Shelf as Y
\n" ); document.write( "Let's take the second Shelf as X\r
\n" ); document.write( "\n" ); document.write( " From the question, Originally; Y = 5X\r
\n" ); document.write( "\n" ); document.write( "However, upon removing 20 from Y and adding it to X we now have a new Shelf arrangement and we shall call it Z.\r
\n" ); document.write( "\n" ); document.write( " Z can be expressed as;
\n" ); document.write( " Z = X + 20\r
\n" ); document.write( "\n" ); document.write( "From the latter part of the question we can clearly write a new equation after the subtraction/addition from/to Y and X respectively. Whereas Y is thrice the new Shelf arrangment(Z).\r
\n" ); document.write( "\n" ); document.write( " Y-20 = 3Z (Where Z is X+20)
\n" ); document.write( "Y-20 = 3(X+20)
\n" ); document.write( "Y-20=3X + 60\r
\n" ); document.write( "\n" ); document.write( " Remember that, Y = 5X, Therefore we substitute Y for X in the above equation.\r
\n" ); document.write( "\n" ); document.write( "5X - 20 = 3X + 60.
\n" ); document.write( " Solving the above linear equation gives X as.
\n" ); document.write( "X= 40.\r
\n" ); document.write( "\n" ); document.write( "If X is 40 therefore Y = 5*40\r
\n" ); document.write( "\n" ); document.write( "Y= 200.\r
\n" ); document.write( "\n" ); document.write( " The first shelf originally had 200 Books while the second originally had 40 Books.
\n" ); document.write( "
\n" );