document.write( "Question 669852: One week, Mr. Slade promised to pay his son Joel $5 for each algebra problem he solved correctly. However, he would charge Joel $2 for each incorrect solution. At the end of the week Joel had completed 82 problems. Mr. Slade owes Joel $25. How many problems did Joel solve correctly.\r
\n" ); document.write( "\n" ); document.write( "I started by doing this but I cannot get an even number answer(C=Correct, I=Incorrect)
\n" ); document.write( "C+I=82
\n" ); document.write( "C(5)-I(2)=25
\n" ); document.write( "I=82-C
\n" ); document.write( "C(5)-(82-C)*2=25.
\n" ); document.write( "5C-(164-10C)=25
\n" ); document.write( "5C-164+10C=25
\n" ); document.write( "15C-164=25
\n" ); document.write( "+164 +164
\n" ); document.write( "15C=189
\n" ); document.write( "c=12.6
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #416592 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+c+\" = the number of correct solutions
\n" ); document.write( "Let \"+i+\" = the number of incorrect solutions
\n" ); document.write( "--------
\n" ); document.write( "\"+c+%2B+i+=+82+\"
\n" ); document.write( "\"+i+=+82+-+c+\"
\n" ); document.write( "\"+5c+-+2i++=+25+\"
\n" ); document.write( "\"+5c+-2%2A%28+82+-+c+%29+=+25+\"
\n" ); document.write( "\"+5c+-+164+%2B+2c+=+25+\"
\n" ); document.write( "\"+7c+=+189+\"
\n" ); document.write( "\"+c+=+27+\"
\n" ); document.write( "and
\n" ); document.write( "\"+i+=+82+-+c+\"
\n" ); document.write( "\"+i+=+82+-+27+\"
\n" ); document.write( "\"+i+=+55+\"
\n" ); document.write( "He solved 27 correctly
\n" ); document.write( "------------
\n" ); document.write( "Your mistake is the 6th line from the end
\n" ); document.write( "\"+10c+\" should be \"+2c+\"
\n" ); document.write( "
\n" ); document.write( "
\n" );