document.write( "Question 1147027: Hi
\n" ); document.write( "A B and C had 181 cookies at first. A gave away 20% of her cookies while B bought 28 more cookies. C also bought more cookies and had 4 times as many as before. Then the ratio of the number of cookies A B C had was 2:5:8 respectively. How many cookies did B have at first.\r
\n" ); document.write( "\n" ); document.write( "thanks
\n" ); document.write( "

Algebra.Com's Answer #768316 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Let the numbers for each person be A, B, and C. Then the given information tells us

\n" ); document.write( "(1) A+B+C = 181

\n" ); document.write( "(2) (4/5)A : B+28 : 4C = 2:5:8

\n" ); document.write( "Use the ratios in (2) to get B and C in terms of A and substitute in (1).

\n" ); document.write( "(Of course you could also get A and C in terms of B, or A and B in terms of C....)

\n" ); document.write( "B in terms of A:

\n" ); document.write( "\"%284%2F5%29A%2F%28B%2B28%29+=+2%2F5\"

\n" ); document.write( "\"2B%2B56+=+4A\"

\n" ); document.write( "\"B%2B28+=+2A\"

\n" ); document.write( "\"B+=+2A-28\"

\n" ); document.write( "C in terms of A:

\n" ); document.write( "\"%284%2F5%29A%2F%284C%29+=+2%2F8+=+1%2F4\"

\n" ); document.write( "\"%284%2F5%29A%2FC+=+1\"

\n" ); document.write( "\"C+=+%284%2F5%29A\"

\n" ); document.write( "Substitute and solve for A:

\n" ); document.write( "\"A+%2B+%282A-28%29+%2B+%284%2F5%29A+=+181\"

\n" ); document.write( "\"%2819%2F5%29A+-+28+=+181\"

\n" ); document.write( "\"%2819%2F5%29A+=+209\"

\n" ); document.write( "\"A+=+%285%2A209%29%2F19+=+5%2A11+=+55\"

\n" ); document.write( "Use this value of A to find B and C:

\n" ); document.write( "\"B+=+2A-28+=+110-28+=+82\"

\n" ); document.write( "\"C+=+%284%2F5%29A+=+44\"

\n" ); document.write( "Original numbers of cookies:
\n" ); document.write( "A = 55
\n" ); document.write( "B = 82
\n" ); document.write( "C = 44
\n" ); document.write( "
\n" );