Question 308628
let the father's age be x now
son's age = x-24
.
After 2 years 
father will be x+2
son will be x-24 +2 
Their sum = 40

x+2 +x-24+2 = 40
2x-20=40
2x = 60
x= 30 
Father's age = 30 years.