Step-by-step explanation:
For A EF is going to be 7 units and for B EF will be 2 units I showed the calculation in the attached picture