document.write( "Question 1180169: Sam had 3/5 as many flags as Mateo. Mateo gave 3 flags to Sam so that they would each have the same amount. How many flags did the two of them have altogether? \n" ); document.write( "
Algebra.Com's Answer #809785 by mananth(16949)\"\" \"About 
You can put this solution on YOUR website!
Sam had 3/5 as many flags as Mateo.
\n" ); document.write( "let mateo have x flags
\n" ); document.write( "Sam has 3x/5 flags\r
\n" ); document.write( "\n" ); document.write( " Mateo gave 3 flags to Sam so that they would each have the same amount. \r
\n" ); document.write( "\n" ); document.write( "x-3 = 3x/5 +3\r
\n" ); document.write( "\n" ); document.write( "x-3x/5 =3+3\r
\n" ); document.write( "\n" ); document.write( "2x/5 = 6\r
\n" ); document.write( "\n" ); document.write( "2x =30
\n" ); document.write( "x=15
\n" ); document.write( "mateo has 15 flags
\n" ); document.write( "
\n" );