write and solve a 2 step equation

a baseball ticket cost $20 for each student that attends. there is also a parking fee of$30 for the bus the total cost of the trip was $330

What question are you trying to answer with the equations?

The only unknown is how many students.

330 = 20s + 30

Now solve for s

The only unknown is how many students.

330 = 20s + 30

Now solve for s.

OK, I guess the other questions are:
Which teams were playing?
Who won?
What was the score?
How many kids did the bus driver have?

To solve this 2-step equation, let's represent the number of students attending the baseball game as 'x.'

Step 1: Find the cost of the baseball tickets for the students.
Since each student's ticket costs $20, the total cost of the tickets for 'x' students is 20x.

Step 2: Add the cost of the tickets and the parking fee together to find the total cost of the trip.
The total cost of the trip is given as $330. Therefore, the equation becomes:
20x + 30 = 330.

Now, let's solve the equation:

Step 3: Subtract 30 from both sides of the equation.
20x + 30 - 30 = 330 - 30,
20x = 300.

Step 4: Divide both sides of the equation by 20.
20x/20 = 300/20,
x = 15.

Hence, there were 15 students in attendance at the baseball game.