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[tex] =x+3 [/tex]
If diana Age is D then
[tex] x=D/2-4 [/tex]
It can be re-wriiten as
Diana age [tex] D=2x+8 [/tex]
Given that their ages add up to 167
[tex] x+x+3+2x+8=167\\ \\ 4x+11=167\\ \\ 4x=167-11\\ \\ 4x=156\\ \\ x=39\\ [/tex]
Hence jim is 39 nyears old, John is 39+3=42 years old. and Diana is 2*39+8=78+8=86 years old.