You can put this solution on YOUR website!
x=Eddie’s current age
y=Dave’s current age
Eddie is three times as old Dave means
Seven years ago means we have to subtract 7 from both ages
Eddie was five times old as Dave
Put the value of x from (1) to (2)
Divide by -2 both sides of above equation
Put the value of y in equation (1)
Eddie is 42 and Dave is 14 years old.