document.write( "Question 977491: Town A and Town B were located close to each other, and recently merged into one city. Town A had a population with 6% Hispanics. Town B had a population with 12% Hispanics. After the merge, the new city has a total of 5000 residents, with 10.56% Hispanics. How many residents did Town A and Town B used to have? \n" ); document.write( "
Algebra.Com's Answer #599055 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = the number of residents
\n" ); document.write( "that town A used to have
\n" ); document.write( "\"+5000+-+a+\" = the number of residents
\n" ); document.write( "that town B used to have
\n" ); document.write( "-----------------------
\n" ); document.write( "\"+.06a+\" = number of hispanics that
\n" ); document.write( "town A used to have
\n" ); document.write( "\"+.12%2A%28+5000+-+a+%29+\" = number of hispanics
\n" ); document.write( "that town B used to have
\n" ); document.write( "-------------------------
\n" ); document.write( "After merging, the town has:
\n" ); document.write( "\"+.1056%2A5000+=+528+\" hispanics
\n" ); document.write( "-------------------------------
\n" ); document.write( "Now I can say:
\n" ); document.write( "\"+.06a+%2B+.12%2A%28+5000+-+a+%29+=+528+\"
\n" ); document.write( "\"+.06a+%2B+600+-+.12a+=+528+\"
\n" ); document.write( "\"+.06a+=+600+-+528+\"
\n" ); document.write( "\"+.06a+=+72+\"
\n" ); document.write( "\"+a+=+1200+\"
\n" ); document.write( "and
\n" ); document.write( "\"+5000+-+a+=+5000+-+1200+\"
\n" ); document.write( "\"+5000+-+a+=+3800+\"
\n" ); document.write( "-----------------------
\n" ); document.write( "Town A used to have 1200 residents
\n" ); document.write( "Town B used to have 3800 residents
\n" ); document.write( "
\n" ); document.write( "
\n" );