document.write( "Question 892101: The caribbean paradise has 12 more deluxe staterooms than the Pacific. The Mediterranean has15 fewer deluxe staterooms than the Pacific. The total of the three is 525. What is the number for each?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #540277 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
c = count of rooms for Caribbean Paradise
\n" ); document.write( "p = rooms for Pacific
\n" ); document.write( "m = rooms for Mediterranean\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"c=12%2Bp\";
\n" ); document.write( "\"m=-15%2Bp\";
\n" ); document.write( "\"c%2Bp%2Bm=525\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The c and m equations:
\n" ); document.write( "p=c-12 and p=m+15
\n" ); document.write( "\"c-12=m%2B15\"
\n" ); document.write( "\"c-m=15%2B12\"
\n" ); document.write( "\"highlight_green%28c-m=27%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Substitute for p in the \"525\" equation:
\n" ); document.write( "\"c%2B%28m%2B15%29%2Bm=525\"-----( the equation p=c-12 could have been used instead )
\n" ); document.write( "\"c%2B2m%2B15=525\"
\n" ); document.write( "\"highlight_green%28c%2B2m=510%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use those two green-outlined equations.
\n" ); document.write( "\"c%2B2m-%28c-m%29=510-27\" -------using Elimination Method to handle this part
\n" ); document.write( "\"3m=483\"
\n" ); document.write( "\"m=483%2F3\"
\n" ); document.write( "\"highlight%28m=161%29\"
\n" ); document.write( "This is one part of the solution.
\n" ); document.write( "-
\n" ); document.write( "Use m to find the values for p and c.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This problem could be handled in many ways. You could also use matrices.
\n" ); document.write( "
\n" ); document.write( "
\n" );