In triangle ABC, the lines contianing the bisector of angle B and the bisector of an exterior angle at C intersect at Q. A line through Q drawn parallel to BC intersects AC at E and AB at D. If BD = 8 and EC = 6, find ED.