Solution:
we are given that
John is 3 years older than Jim. Jim is 4 years less than half of Dana’s age.
Let the age of Jim be x years then we can say
Age of John
If diana Age is D then
It can be re-wriiten as
Diana age
Given that their ages add up to 167
Hence jim is 39 nyears old, John is 39+3=42 years old. and Diana is 2*39+8=78+8=86 years old.