document.write( "Question 328371: A rice dealer mixes two varieties of rice, one that sells at P500 a sack and anotherat P520 a sack. He intends to fill up 100 sacks to be sold at P515 each. How many sacks of rice each variety are needed? \n" ); document.write( "
Algebra.Com's Answer #235194 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
let the number of P500 sacks he mixes be x
\n" ); document.write( "the P520 he mixes will be 100-x
\n" ); document.write( "..
\n" ); document.write( "mixture P515 100 bags
\n" ); document.write( "500x+520(100-x)=515*100
\n" ); document.write( "500x+52000-520x=51500
\n" ); document.write( "-20x=51500-52000
\n" ); document.write( "-20x=-500
\n" ); document.write( "x=-500/-20
\n" ); document.write( "x=25 -------- the p500 type
\n" ); document.write( "balance 75 will be P520 type sacks
\n" ); document.write( "
\n" );