Mia is three years older than twice her sister brooke's age. The sum of their ages is less than 30. what is the greatest age Brooke can be?