.
Let x be the number of days at the campground.
Then the number of days at the hotel is (10-x).
You pay 60*(10-x) dollars for staying at the hotel and 15*x dollars for the campground.
In all,
60*(10-x) + 15*x = 330 dollars.
It is your equation, and the setup is done.
Now simplify the equation and solve it for x.
------------
To learn better on how to setup and how to solve similar problems, see the lessons
- Using systems of equations to solve problems on tickets
- Using systems of equations to solve problems on investment
- Two mechanics work on a car
- The Robinson family and the Sanders family each used their sprinklers last summer
- System of equations helps to solve a problem for the Thanksgiving day
in this site.
Also, you have this free of charge online textbook in ALGEBRA-I in this site
- ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this online textbook under the topic "Systems of two linear equations in two unknowns".
Save the link to this online textbook together with its description
Free of charge online textbook in ALGEBRA-I
https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson
to your archive and use it when it is needed.