when the distance AB is equal to AC