document.write( "Question 1150280: 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 4800 residents, with 10.5% Hispanics. How many residents did Town A and Town B used to have? \n" ); document.write( "
Algebra.Com's Answer #771669 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Town A and Town B were located close to each other, and recently merged into one city.
\n" ); document.write( " Town A had a population with 6% Hispanics.
\n" ); document.write( " Town B had a population with 12% Hispanics.
\n" ); document.write( " After the merge, the new city has a total of 4800 residents, with 10.5% Hispanics.
\n" ); document.write( " How many residents did Town A and Town B used to have?
\n" ); document.write( ":
\n" ); document.write( "let a = no. of residents in town A
\n" ); document.write( "let b = no. of residents in town B
\n" ); document.write( ":
\n" ); document.write( "Two equations
\n" ); document.write( "a + b = 4800
\n" ); document.write( "a = (4800-b)
\n" ); document.write( "and
\n" ); document.write( ".06a + .12b = .105(4800)
\n" ); document.write( ".06a + .12b = 504
\n" ); document.write( "replace a with (4800-b)
\n" ); document.write( ".06(4800-b) + .12b = 504
\n" ); document.write( "288 - .06b + .12b = 504
\n" ); document.write( ".06b = 504 - 288
\n" ); document.write( ".06b = 216
\n" ); document.write( "b = 216/.06
\n" ); document.write( "b = 3600 in town B
\n" ); document.write( "then
\n" ); document.write( "4800 - 3600 = 1200 in Town A
\n" ); document.write( ":
\n" ); document.write( ";
\n" ); document.write( "See if that checks out; find how many in each town.
\n" ); document.write( ".06(1200) = 72
\n" ); document.write( ".12(3600) = 432
\n" ); document.write( "-----------------
\n" ); document.write( "total Hisp. 504 in both towns
\n" ); document.write( "
\n" );