document.write( "Question 160409: hi,I have a problem solving this equation: 3p+q=11
\n" ); document.write( " p+q=7\r
\n" ); document.write( "\n" ); document.write( " santelle
\n" ); document.write( "

Algebra.Com's Answer #118325 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
Solve the \"system of equations\":
\n" ); document.write( "This is quite straightforward, you just have to mind your p's and q's (lol)
\n" ); document.write( "\"3p%2Bq+=+11\"
\n" ); document.write( "\"p%2Bq+=+7\" Rewrite this equation as: \"p+=+7-q\" and substitute for p into the first equation.
\n" ); document.write( "\"3%287-q%29%2Bq+=+11\" Simplify this and solve for q.
\n" ); document.write( "\"21-3q%2Bq+=+11\" Combine like-terms.
\n" ); document.write( "\"21-2q+=+11\" Subtract 21 from both sides.
\n" ); document.write( "\"-2q+=+-10\" Finally, divide both sides by -2.
\n" ); document.write( "\"q+=+5\" Now substitute this for q into the second equation and solve for p.
\n" ); document.write( "\"5%2Bp+=+7\" Subtract 5 from both sides.
\n" ); document.write( "\"p+=+2\"
\n" ); document.write( "The solution is: p = 2 and q = 5
\n" ); document.write( "
\n" );