Final answer:
Maya's brother is 17 years old and Maya is 5 years old.
Step-by-step explanation:
To find Maya and her brother's ages, we need to set up an equation. Let's assume that Maya's brother is x years old. Since Maya's brother was 12 when she was born, Maya is x - 12 years old. According to the problem, the sum of their ages is 22, so we can write the equation: x + (x - 12) = 22.
Next, we combine like terms and solve the equation: 2x - 12 = 22. Adding 12 to both sides gives us 2x = 34. Finally, dividing both sides by 2, we find that x = 17.
Therefore, Maya's brother is 17 years old and Maya is 17 - 12 = 5 years old.