document.write( "Question 250358: There are sparrows and pigeons on a fence. When five sparrows leave, there remain two pigeons for every sparrow. Then twenty-five pigeons leave, and there are now three sparrows for every pigeon. Find the original number of sparrows. \n" ); document.write( "
Algebra.Com's Answer #182282 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
let x= number of birds on fence
\n" ); document.write( "p+s=x
\n" ); document.write( "2(s-5)=p
\n" ); document.write( "(s-5) =3*(p-25)
\n" ); document.write( "
\n" );