macy, sydmey, and Allie are sisters. macy is two years older than Sydney and Allie is one year less than half the age of sydney. if the sum of their ages is 31, how old is macy