write a real world problem that you can solve by writing an equation.the answer to the problem must be 6.

I spent 3 hours answering questions on Jiskha. I then read for three hours. How many hours was I doing stuff?

Aunt Polly was entertaining her nieces and nephews. She baked chocolate chip cookies and put 12 of them on a plate. Each child took 2 cookies, leaving an empty plate. How many nieces and nephews shared these cookies?

You can write the equation.

6 12÷2=6

6×2=12

Sure! Here's a real-world problem that can be solved by writing an equation, where the answer is 6:

Problem: Raj has some money. He spent half of his money on a movie ticket and then spent 2 dollars on snacks at the theater. After these expenses, he still had 6 dollars left. How much money did Raj have at the beginning?

Solution:

Let's represent the amount of money Raj had at the beginning with the variable "x."

Raj spent half of his money on a movie ticket, which can be represented by the equation: x/2 (half of his money).

He also spent 2 dollars on snacks, so the equation becomes: x/2 - 2.

After these expenses, Raj still had 6 dollars left, which means the equation becomes: x/2 - 2 = 6.

To solve this equation, we need to isolate the variable "x" by bringing all the terms without "x" to one side:

x/2 - 2 = 6
x/2 = 6 + 2
x/2 = 8

Now, we can solve for "x" by multiplying both sides of the equation by 2, to get rid of the fraction:

2 * (x/2) = 8 * 2
x = 16

Therefore, Raj initially had 16 dollars.

To validate the solution, we can substitute the value of "x" back into the original equation:

16/2 - 2 = 6
8 - 2 = 6
6 = 6

Since both sides of the equation are equal, the solution is correct, and the answer to the problem is 6.