document.write( "Question 20149: I am a mom trying to help my son with a word problem. I am stumped. Please help:
\n" ); document.write( "Pete has 20 pets. If he has 5 more than 1/4 as many dogs as cats, how many cats does he have?
\n" ); document.write( "Thanks!
\n" ); document.write( "LS
\n" ); document.write( "

Algebra.Com's Answer #9725 by suresh(20)\"\" \"About 
You can put this solution on YOUR website!
Pate has 20 pets.\r
\n" ); document.write( "\n" ); document.write( "Let x be the number of dogs and y be the number of cats.\r
\n" ); document.write( "\n" ); document.write( "Given:
\n" ); document.write( "x+y=20------------> (1)
\n" ); document.write( "5+(1/4)x = y------> (2)\r
\n" ); document.write( "\n" ); document.write( "Multiplying 4 on both sides of (2),we have
\n" ); document.write( "20+x=4y.
\n" ); document.write( "x-4y=-20---------->(3)\r
\n" ); document.write( "\n" ); document.write( "Subtracting (3)from (1),we have\r
\n" ); document.write( "\n" ); document.write( "5y=40\r
\n" ); document.write( "\n" ); document.write( "y=8.
\n" ); document.write( "So Pate has 8 cats.
\n" ); document.write( "
\n" );