The ages of max and his father add up to 35 years. Max's father's age is the same as five more than the square of max's age