Try this solution (note, the length of midsegment is (KG+FL)/2), all the details are in the attachment.
Answer is marked with green colour.
Step-by-step explanation: