Bob, Maria, and Shoshana all have birthdays on the same day.
Bob’s present age is two years less than the sum of Shoshana’s and Maria’s present ages.
Take b, m and s as the current ages. therefore :
b = (m + s) - 2
In five years, Bob will be twice as old as Maria will be then.
in five years, bob’s age b will become (b + 5). maria’s age in five years will also become (m + 5). this new age of bob will be twice as old as this new age of maria.
so,
b + 5 = 2(m+5)
Two years ago, Maria was half as old as Shoshana was.
Two years ago, Maria was (m-2) and Shahana was (s-2).
maria’s this age was half of shoshana’s this age.
so,
m-2 = 1/2(s-2)
so the equations are :
b = (m + s) - 2
b + 5 = 2(m+5)
m-2 = 1/2(s-2)
Solving for them, you get current ages as:
Bob = 23
Maria = 9
Shoshana = 16
Putting these answers back into the question, we get:
Bob, Maria, and Shoshana all have birthdays on the same day. Bob’s present age (23) is two years less than the sum (25) of Shoshana’s (16) and Maria’s (16) present ages. In five years, Bob (28) will be twice as old as Maria (14) will be then. Two years ago, Maria (7) was half as old as Shoshana (14) was. How old is each of them? 23, 9 and 16.
So MentalGuy’s equations were correct but maybe this explanation might make it easier for you to understand why.