如图,△ABC中,E、D是BC上两点,若AD=AE,∠BAD=∠C,AC=6,CE=4,则BE=