document.write( "Question 1043635: Mr. Lee brought reading books to his class. If each student takes 5 books. there will be 15 books left. If 5 students do not take a book and the rest of the students take 7 books each, there will be no books left. How many books were brought to the class?
\n" ); document.write( " A) 140 B) 125 C) 120 D) 104
\n" ); document.write( "

Algebra.Com's Answer #658773 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x books were brought to class.
\n" ); document.write( "y=number of students in the class.
\n" ); document.write( "x-5y=15
\n" ); document.write( "x-7(y-5)=0. This means that 5 fewer than y students each took 7 books.
\n" ); document.write( "Therefore, x=7(y-5)
\n" ); document.write( "Substitute into first equation.
\n" ); document.write( "7(y-5)-5y=15
\n" ); document.write( "7y-35-5y=15
\n" ); document.write( "2y=50
\n" ); document.write( "y=25
\n" ); document.write( "x-125=15
\n" ); document.write( "x=140 books. A
\n" ); document.write( "There are 25 students.
\n" ); document.write( "If each student takes 5 books, 125 are taken and 15 are left
\n" ); document.write( "If 20 students (5 fewer than 25) take 7 books, none is left.
\n" ); document.write( "
\n" );