Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['dAFA DFAd fdcd FAdf', 'FAdA FAdA GBdB GBdB'  
X:1
L:1/8
M:4/4
K:D
 (3gfe | dAFA DFAd | fdcd FAdf | (3ggg ge (3fff fd | (3efe (3dcB A2 (3ABc | dAFA DFAd | fdcd FAdf | 
 gfge fefd | (3efe dc d2 :| AG | FAdA FAdA | GBdB GBdB | Acec Acec | dfaf (3gfe cA | FAdA FAdA | 
 GBdB GBdB | Aceg fefd | (3efe dc d2 :|  