Let D be the daughter's current age.
We know that 3 years ago, her age was 4.
This gives us the equation:
$D - 3 = 4$
Solving for D:
$D = 4 + 3 = 7$
So, the daughter is currently 7 years old.
Let W be the wife's current age.
The wife's age is 5 times the daughter's age.
Using the daughter's age, D = 7:
$W = 5 \times D$
$W = 5 \times 7 = 35$
The wife is currently 35 years old.
Let R be Ravi's current age.
Ravi is 5 years older than his wife.
Using the wife's age, W = 35:
$R = W + 5$
$R = 35 + 5 = 40$
Therefore, Ravi's present age is 40 years.