Ages of Dan and Cary are 29 and 33 respectively.
Step-by-step explanation:
Step 1:
Form equations out of the given details. Let the age of Dan be x, then age of Cary is x + 4.
In 7 years, sum of their ages = 76
⇒ (x + 7) + (x + 4 + 7) = 76
⇒ 2x + 18 = 76
⇒ 2x = 58
⇒ x = 29
Step 2:
Calculate age of Cary.
⇒ x + 4 = 33