Matt is five years older than twice his cousin Andy’s age. The sum of their ages is less than 35. Let x represent Andy's age.