Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['d2 ef edBd', 'FAAd Beed'  
X:1
L:1/8
M:4/4
K:D
|: d2 ef edBd | AFdF A2 Bc | d2 ef edBd | eAfA edBc | d2 ef edBd | AF F2 AFFG | AF F2 GBed |1 
 ceag f2 fe :|2 ceag fdde |: fa a2 afdf | bagf edce | dcdA FAAd | Beed cdeg | faaf adfa | 
 bagf edce |1 dcdA FAAd | Beed cA A2 :|2 d3 A FAAd | Beed cdec ||  