From the condition, the brother's boss is 23-5 = 18 years older than Anne. Hence, Anne will be 18 years when her brother's boss is twice her age.