Two years ago, a man's age was three times the square of his son's age. In three years time, his age will be four times his son's age. Find their present ages.
Five year hence, a man's age will be three times the age of his son. Five years ago, the man was seven times as old as his son. Find their present ages.