Fathers age is three times his sons age and sum of their ages is 100 then age of sons

f = 3s

f+s = 100
now work your magic