Let present ages of father, mother, and child be (F, M, C).
From 5 years ago
3(F−5)+(M−5)+(C−5)=27
F+M+C−15=81
F+M+C=96(1)
From 3 years ago (parents only)
2(F−3)+(M−3)=41
F+M−6=82
F+M=88(2)
Find child’s present age
From (1) and (2):
C=96−88=8
Find when the child was born
Child’s present age = 8 years
So, the child was born 8 years ago.