Ages of Dan and Cary are 29 and 33 respectively.
<u>Step-by-step explanation:</u>
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
4x-6= x+6
4x= x + 12
5x= 12
X= 12/5
X= 2.5