Question #5 - Solve the equation.

SpongeBob and Patrick went to a party at the Pineapple House. They each got a ticket for the Roller Coaster. SpongeBob got a Krabby Patty, and Patrick got a Krusty Krab Pizza. SpongeBob had a certificate for $7 off the cost. Patrick paid the rest, which came to $15. Each Roller Coaster ticket was $3, and a Krabby Patty was $5. What was the cost for Krusty Krab Pizza?

Let's set up the equation to solve for the cost of the Krusty Krab Pizza.

Let x be the cost of the Krusty Krab Pizza.

SpongeBob paid $5 for the Krabby Patty and received a $7 discount for the Roller Coaster ticket. Therefore, SpongeBob paid $3 for the ticket ($5 - $7).

Patrick paid the remaining cost, which was $15.

The total cost for both SpongeBob and Patrick would be SpongeBob's cost for the ticket plus Patrick's cost for the ticket plus Patrick's cost for the Krusty Krab Pizza.

So, (SpongeBob's ticket cost) + (Patrick's ticket cost) + (Patrick's Krusty Krab Pizza cost) = Total cost

Plugging in the known values, we get:

$3 + $3 + x = $15

Combining like terms, we have:

$6 + x = $15

Now, we can solve for x by subtracting $6 from both sides:

x = $15 - $6

x = $9

Therefore, the cost for the Krusty Krab Pizza is $9.

Step 1: Set up the equation to represent the given information.

Let's assume the cost of the Krusty Krab Pizza be 'x'.

Step 2: Write the equation using the given information.
SpongeBob's ticket + SpongeBob's Krabby Patty - SpongeBob's certificate + Patrick's Krusty Krab Pizza = Patrick's total payment
($3 + $5 - $7) + x = $15

Step 3: Simplify the equation.
($8 - $7) + x = $15
$1 + x = $15

Step 4: Solve for x.
x = $15 - $1
x = $14

Step 5: Answer the question.
The cost for Krusty Krab Pizza was $14.

To solve this equation, let's first set up the equation based on the information given. Let's call the cost of the Krusty Krab Pizza "x".

According to the given information, SpongeBob had a certificate for $7 off the cost, which means he paid $15 (the cost of the pizza plus his portion of the ticket) minus $7 (the value of the certificate). So, SpongeBob paid $15 - $7 = $8.

Now, we know that SpongeBob paid $8 for his Krabby Patty, which was $5, and Patrick paid the rest, which was the cost of the pizza. So, we can set up the equation as:

$8 + $5 + x = $15

To solve for x, we need to isolate the variable.

First, combine like terms:

$13 + x = $15

Then, subtract $13 from both sides:

x = $15 - $13

x = $2

Therefore, the cost of the Krusty Krab Pizza was $2.