Let Fatuma's age be \( F \) and Bakari's age be \( B \).
According to the problem:
-
Fatuma is 4 years less than Bakari: \[ F = B - 4 \]
-
Three times Fatuma's age is equal to two times Bakari's age: \[ 3F = 2B \]
Now we can substitute the first equation into the second equation.
Substituting \( F \) from the first equation into the second equation gives: \[ 3(B - 4) = 2B \]
Now, expand and simplify: \[ 3B - 12 = 2B \]
Subtract \( 2B \) from both sides: \[ 3B - 2B - 12 = 0 \] \[ B - 12 = 0 \]
So, we have: \[ B = 12 \]
Now, substitute \( B \) back into the first equation to find \( F \): \[ F = B - 4 = 12 - 4 = 8 \]
Thus, Fatuma's age is \( 8 \) and Bakari's age is \( 12 \).
So the final ages are:
- Fatuma: 8 years old
- Bakari: 12 years old