如图已知△ABC中,D是BC边中点,过点D做直线交AB于E,交AC的延长线于F,且BE=CF,求证:AE=AF