In the given figure, EADF is a rectangle and ABC is a triangle whose vertices lie on the sides of EADF and AE = 22, BE = 6, CF = 16 and BF = 2. Find the length of the line joining the mid-points of the sides AB and BC.