document.write( "Question 817688: a man has a bag of sweets he gave 1 sweet to his son then he gave 1/7 of remaining sweets to his son. Then he gave 2 sweets to his daughter then he he gave 1/7 of remaining to his daughter. Both child got equal numbers of sweets. What were the total sweets in the bag? Solve with explanation . . \n" ); document.write( "
Algebra.Com's Answer #492177 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi,
\n" ); document.write( "a man has a bag of sweets he gave 1 sweet to his son then he gave 1/7 of remaining sweets to his son. Then he gave 2 sweets to his daughter then he he gave 1/7 of remaining to his daughter. Both child got equal numbers of sweets.
\n" ); document.write( "Let 'T' represent the total sweets in the bag.
\n" ); document.write( " Son: \"S+=+1+%2B+%281%2F7%29%28T-1%29\"
\n" ); document.write( "Daughter: \"D+=+2+%2B+%281%2F7%29%28T-2-S%29\"
\n" ); document.write( "Question states***Both child got equal numbers of sweets.
\n" ); document.write( "\"S+=+2+%2B+%281%2F7%29%28T-2-S%29\"
\n" ); document.write( " 7S = 14 + T - 2 - S
\n" ); document.write( " 8S - 12 = T
\n" ); document.write( "\"S+=+1+%2B+%281%2F7%29%28%288S-12%29-1%29\" |Substitute for T
\n" ); document.write( " 7S = 7 + 8S - 13
\n" ); document.write( " S = 6 (D=6) and T = 36 total sweets in the bag (8S -12)
\n" ); document.write( " \n" ); document.write( "
\n" );