document.write( "Question 1096185: I just returned from a 10 day vacation where I spent time at a hotel that cost $60 dollars/day and a campground that cost $15 dollars/ day for a total of $330. How many days did I spend at the hotel and how many days id I spend at the campground ? Don't know how to set up equation! Thank you. \n" ); document.write( "
Algebra.Com's Answer #710641 by ikleyn(52784)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Let x be the number of days at the campground.\r\n" );
document.write( "\r\n" );
document.write( "Then the number of days at the hotel is (10-x).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "You pay 60*(10-x) dollars for staying at the hotel and 15*x dollars for the campground.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In all,\r\n" );
document.write( "\r\n" );
document.write( "60*(10-x) + 15*x = 330   dollars.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is your equation, and the setup is done.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now simplify the equation and solve it for x.\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------
\n" ); document.write( "To learn better on how to setup and how to solve similar problems, see the lessons\r
\n" ); document.write( "\n" ); document.write( "    - Using systems of equations to solve problems on tickets \r
\n" ); document.write( "\n" ); document.write( "    - Using systems of equations to solve problems on investment\r
\n" ); document.write( "\n" ); document.write( "    - Two mechanics work on a car \r
\n" ); document.write( "\n" ); document.write( "    - The Robinson family and the Sanders family each used their sprinklers last summer\r
\n" ); document.write( "\n" ); document.write( "    - System of equations helps to solve a problem for the Thanksgiving day\r
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Also,  you have this free of charge online textbook in ALGEBRA-I in this site\r
\n" ); document.write( "\n" ); document.write( "    - ALGEBRA-I - YOUR ONLINE TEXTBOOK.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The referred lessons are the part of this online textbook under the topic \"Systems of two linear equations in two unknowns\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Save the link to this online textbook together with its description\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Free of charge online textbook in ALGEBRA-I
\n" ); document.write( "https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to your archive and use it when it is needed.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );