Dan is 5 years older than David. Bridget is 8 years younger than David. If the total of their ages is 57, how old is the eldest of them
Let x be David's age. Dan's age is x+5, and Bridget's x-8. We add these together to get 57 and solve for x.
x+(x+5)+(x-8)=57
3x-3=57
3x=60
x=20
Dan is the oldest out of them, and his age is 20+5=25.