Let age of son be x years
Age of father is 3x years
After 5 years
Age of son be x+5 years
Age of father is 3x+5 years
According to question
3x+5=2.5(x+5)
0.5x=2.5
x=5
Age of son be 5 years
Age of father is 15 years