Alice is 2 years older than Bobby who is twice as old as Carol. If the total of the ages of Alice, Bobby and Carol is 27 years, how old is Bobby?