document.write( "Question 248364: If each boy purchases a patty and each girl purchases a bun, they would spend a total of one cent more than if each boy purchased a bun and each girl purchased a patty. We know that the number of boys is greater than the number of girls. What is the difference between the number of boys and the number of girls? \n" ); document.write( "
Algebra.Com's Answer #181023 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"x\" = price of a bun in cents
\n" ); document.write( "Let \"y\" = price of a patty in cents
\n" ); document.write( "Let \"b\" = number of boys
\n" ); document.write( "Let \"g\" = number of girls
\n" ); document.write( "given:
\n" ); document.write( "\"b%2Ay+%2B+g%2Ax+=+b%2Ax+%2B+g%2Ay+%2B+1\"
\n" ); document.write( "subtract \"b%2Ax\" from both sides
\n" ); document.write( "\"b%2Ay+-+b%2Ax+%2B+g%2Ax+=+g%2Ay+%2B+1\"
\n" ); document.write( "Subtract \"g%2Ax\" from both sides
\n" ); document.write( "\"b%2Ay+-+b%2Ax+=+g%2Ay+-+g%2Ax+%2B+1\"
\n" ); document.write( "\"b%2A%28y+-+x%29+=+g%2A%28y+-+x%29+%2B+1\"
\n" ); document.write( "Divide both sides by \"y+-+x\"
\n" ); document.write( "\"b+=+g+%2B+1%2F%28y+-+x%29\"
\n" ); document.write( "\"b+-+g+=+1%2F%28y+-+x%29\" answer
\n" ); document.write( "
\n" );