document.write( "Question 1157597: Town A and Town B were located close to each other, and recently merged into one city. Town A had a population with 12% African Americans. Town B had a population with 8% African Americans. After the merge, the new city has a total of 4000 residents, with 9.4% African Americans. How many residents did Town A and Town B used to have? \n" ); document.write( "
Algebra.Com's Answer #780471 by ikleyn(52787)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "       a +      b = 4000          (1)\r\n" );
document.write( "\r\n" );
document.write( "    0.12a + 0.08b = 0.094*4000    (2)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "From equation (1), express a = 4000 - b  ans substitute it into equation (2), replacing \"a\" there\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    0.12*(4000-b) + 0.08b = 0.094*4000.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now  b = \"%280.094%2A4000-0.12%2A4000%29%2F%280.08-0.12%29\" = 2600.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  Population B is 2600 residents; population A is the rest 4000-2600 = 1400 residents.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );