A is 2 years older than B. The sum of their ages is 24. How old is A and how old is B?

A and A-2

A + A - 2 = 24
2 A = 26
A = 13
B = 11

Let A age be x and let B age be x-2

The sum Of Their Age Is 24
X+X-2=24
X+X=24+2
2X=26
X=13
Therfore:when X Is 13
B=X-2
B=13-2
B=11.

To solve this problem, let's use algebra to represent the ages of A and B.

Let's assume B's age is x years. Then, according to the problem, A's age would be x + 2 years because A is 2 years older than B.

The problem also states that the sum of their ages is 24. So, we can set up an equation:

x + (x + 2) = 24

Simplifying the equation:

2x + 2 = 24

Next, we can subtract 2 from both sides of the equation to isolate the variable:

2x + 2 - 2 = 24 - 2

2x = 22

Now, divide both sides by 2:

2x/2 = 22/2

x = 11

So, B's age is 11 years old. And since A is 2 years older than B, A's age is:

11 + 2 = 13

Therefore, A is 13 years old and B is 11 years old.