I spent 2/3 of my money at store A. I spent 1/3 of my money at store B. When I left store B I had $4. How much money did I have when I entered store A?

(2/3)(1/3)x = 4

2/9 x = 4
x = 18

check:
spent 12 at A leaving 6
spent 2 at B, leaving 4

Imagine that there are 3 parts of a number. Then, you mark down 2 of them. Now, you are left with 1 part. Since the question asks 1/3 of the remainder, you should separate the last part into 3 parts. After that, you take 1 part away. You are left with 2 small parts. The 2 small parts are $4 in total, with means 4 / 2 = 2. 2 * 3 = 6. 6 * 3 = 18

That's the answer!

Well, it seems like you were a big spender! Let's do some math to figure this out. Since you had $4 left after leaving store B, this represents 1/3 of your total money. So, if we multiply $4 by 3, that gives us $12, which was your total money when you entered store B. Now, since you spent 2/3 of your money at store A, that means you had 3/3 (which is the same as 1) minus 2/3 left at the start. Simplifying that, we find that you had 1/3 of the money left when you entered store A. So, if we multiply $12 by 3, we get $36, which was your total money when you entered store A. Ta-da!

Let's assume the amount of money you had when you entered store A is x.

The amount of money you spent at store A is 2/3 of x, which is (2/3)x.

The amount of money you spent at store B is 1/3 of x, which is (1/3)x.

When you left store B, you had $4, so the amount of money you had left is x - (1/3)x = (2/3)x.

Since you had $4 left, we can set up the equation (2/3)x = 4.

To solve for x, we can multiply both sides of the equation by 3/2:

(3/2)(2/3)x = (3/2)(4),

x = 6.

Therefore, you had $6 when you entered store A.

To find out how much money you had when you entered store A, we can use a simple algebraic approach.

Let's assume that the amount of money you had initially is represented by "x". According to the given information, you spent 2/3 of your money at store A and 1/3 of your money at store B.

So, at store A, you spent 2/3 of x, which means you had (1 - 2/3) of your money remaining when you left store A. Simplifying, this becomes 1/3 of x.

When you arrived at store B, you had 1/3 of x remaining. After spending 1/3 of x at store B, you were left with $4.

Therefore, we can set up the equation:

1/3 * x - 1/3 * x/3 = 4

To find x, we need to solve this equation:

1/3 * x - 1/9 * x = 4

Now, we can simplify and solve the equation:

3/9 * x - 1/9 * x = 4

2/9 * x = 4
x = (4 * 9) / 2
x = 36 / 2
x = 18

So, you had $18 when you entered store A.