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
![=x+3](https://img.qammunity.org/2019/formulas/mathematics/high-school/8n8zdn0n2gpxz1w1um8n7h1mrm41j25x4c.png)
If diana Age is D then
![x=D/2-4](https://img.qammunity.org/2019/formulas/mathematics/high-school/thcgo8cn94oc7o70p9az6yk3petxculi6c.png)
It can be re-wriiten as
Diana age
![D=2x+8](https://img.qammunity.org/2019/formulas/mathematics/high-school/rfyf2pupyrwd097mg95sqyl183469kev76.png)
Given that their ages add up to 167
![x+x+3+2x+8=167\\ \\ 4x+11=167\\ \\ 4x=167-11\\ \\ 4x=156\\ \\ x=39\\](https://img.qammunity.org/2019/formulas/mathematics/high-school/6ndwg73f8t141pjd2ktkin21adxtm59uyv.png)
Hence jim is 39 nyears old, John is 39+3=42 years old. and Diana is 2*39+8=78+8=86 years old.