document.write( "Question 1184050: In a swimming club, the ratio of th number of girls to the number of boys was 5:3. After 3 girls and 5 boys joined the club, the ratio became 7:5. How many girls were there in the club at first?\r
\n" ); document.write( "\n" ); document.write( "Help
\n" ); document.write( "

Algebra.Com's Answer #814595 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let x = number of girls.
\n" ); document.write( "let y = number of boys.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "original ratio is x/y = 5/3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "second ratio is (x+3)/(y+5) = 7/5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "solve for x in the first ratio to get x = 5y/3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "solve for (x+5) in the second ratio to get (x+3) = 7*(y+5)/5.
\n" ); document.write( "simplify to get (x+3) = (7y+35)/5
\n" ); document.write( "multiply both sides of that equation by 5 to get 5x+15 = 7y+35
\n" ); document.write( "subtract 15 from both sides of that equation to get 5x = 7y+20
\n" ); document.write( "replace x with 5y/3 fom the first equation to get 5*5y/3 = 7y+20
\n" ); document.write( "simplify to get 25y/3 = 7y+20
\n" ); document.write( "multiply both sides by 3 to get 25y = 21y+60
\n" ); document.write( "subtract 21y from both sides to get 4y=60
\n" ); document.write( "solve for y to get y = 60/4 = 15\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the original ratio is x/y = 5/3
\n" ); document.write( "when y = 15, the ratio becomes x/15 = 5/3
\n" ); document.write( "solve for x to get x = 5*15/3 = 5*5 = 25\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have x = 25 and y = 3
\n" ); document.write( "x is the number of girls.
\n" ); document.write( "y is the number of boys.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the original ratio is 25/15 = 5/3.
\n" ); document.write( "the revised ratio is 28/20 = 14/10 = 7/5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "both ratios are good, confirming the solution is correct.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the solution is there were 25 girls in the club originally.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i did a graphical solution and came up with the same answer.
\n" ); document.write( "this is what it looks like.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );