如图,已知△ABC中点D,E,F分别在BC,AB,AC上,BD=CF,BE=CD,DG垂直于EF于点G,求证EG=FG