document.write( "Question 1010636: Theres a pie eating contest. Henry eats 4 less than twice the amount James does. James ate 2 less than Henry. How many pies did each eat ? \n" ); document.write( "
Algebra.Com's Answer #626145 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Call the number of pies each can eat, h and j. Then we have
\n" ); document.write( "h = 2j - 4 and
\n" ); document.write( "j = h - 2
\n" ); document.write( "Subsitute the first into the second and get
\n" ); document.write( "j = 2j - 4 - 2
\n" ); document.write( "j = 2j - 6
\n" ); document.write( "-j = -6
\n" ); document.write( "j = 6 pies
\n" ); document.write( "h = 8 pies
\n" ); document.write( "
\n" );