document.write( "Question 655512: 80 people attended a baseball game. Everyone there was a fan of either the home team or the away team. The number of home team fans was 34 less than 2 times the number of away team fans.\r
\n" ); document.write( "\n" ); document.write( "How many home team and away team fans attended the game?
\n" ); document.write( "

Algebra.Com's Answer #409159 by DrBeeee(684)\"\" \"About 
You can put this solution on YOUR website!
Let h = home fans
\n" ); document.write( "Let a = away fans
\n" ); document.write( "The problem statement results with
\n" ); document.write( "(1) h + a = 80 and
\n" ); document.write( "(2) h = 2*a - 34
\n" ); document.write( "Solve the system of equations (1) and (2), by substitution.
\n" ); document.write( "Solving (1) for h gives us
\n" ); document.write( "(3) h = 80 - a
\n" ); document.write( "Put (3) into (2) and get
\n" ); document.write( "(4) 80 - a = 2*a - 34 or
\n" ); document.write( "(5) 80 + 34 = 2*a + a or
\n" ); document.write( "(6) 114 = 3*a or
\n" ); document.write( "(7) a = 114/3 or
\n" ); document.write( "(8) a = 38
\n" ); document.write( "Using (8) in (1) we can get h
\n" ); document.write( "(9) h + 38 = 80 or
\n" ); document.write( "(10) h = 80 - 38 or
\n" ); document.write( "(11) h = 42
\n" ); document.write( "Use (2) to check our answer.
\n" ); document.write( "Is (42 = 2*38 - 34)?
\n" ); document.write( "Is (42 = 76 - 34)?
\n" ); document.write( "Is (42 = 42)? Yes
\n" ); document.write( "Answer: There were 42 home-team fans and 38 away-team fans that attended the baseball game.
\n" ); document.write( "
\n" ); document.write( "
\n" );