document.write( "Question 816464: The average is 40. The third is 12 more than the second is five times the first. the fourth is 8 less than the first find the numbers. \n" ); document.write( "
Algebra.Com's Answer #806001 by CubeyThePenguin(3113)\"\" \"About 
You can put this solution on YOUR website!
first = a
\n" ); document.write( "second = b
\n" ); document.write( "third = c
\n" ); document.write( "fourth = d\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a + b + c + d = 160
\n" ); document.write( "c = b + 12
\n" ); document.write( "c = 5a
\n" ); document.write( "d = a - 8.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Write everything in terms of one variable: a.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "5a = b + 12 ---> b = 5a - 12
\n" ); document.write( "c = 5a
\n" ); document.write( "d = a - 8\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a + b + c + d = 160
\n" ); document.write( "a + (5a - 12) + 5a + (a - 8) = 160
\n" ); document.write( "12a - 20 = 160
\n" ); document.write( "12a = 180
\n" ); document.write( "a = 15\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The numbers are a = 15, b = 63, c = 75, and d = 7.
\n" ); document.write( "
\n" );