document.write( "Question 1073271: A textbook store sold a combined total of 268 psychology and history textbooks in a week.
\n" ); document.write( "The number of history textbooks sold was 58 less than the number of psychology textbooks sold.
\n" ); document.write( "How many textbooks of each type were sold?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #688107 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let x = number of psychology books sold.
\n" ); document.write( "let y = number of history books sold.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a total of 368 books were sold.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + y = 268\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the number of history books sold was 58 less than the number of psychology books sold.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = x - 58\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 2 equations that need to be solved simultaneously.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "they are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + y = 268
\n" ); document.write( "y = x - 58\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since y = x - 58, then replace y in the first equation with x - 58 to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + (x - 58) = 268\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "remove parentheses to get x + x - 58 = 268.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "combine like terms to get 2x - 58 = 268.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "add 58 to both sides to get 2x = 326.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "divide both sides by 2 to get x = 163.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since x + y = 268, then y = 268 - 163 = 105\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the number of psychology books sold is 163.
\n" ); document.write( "the number of history books sold is 105.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "163 - 105 = 58.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "there were 58 less history books sold than psychology books.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );