Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:C
['AFEF D2 FD EFAB dcde fedB', 'DE FAAB defe dBAB d2 de fedB'  
X:1
L:1/8
M:4/4
K:C
 f eac!p! a d be e!p! a eeaue a | E2 D2 D2 |[M:2/2][K:D][Q:1/8=150]"^hornpipe" .dB | AFEF D2 FD | 
 EFAB dcde | fedB AFEF | DFAF E2 dB | AFEF D2 FD | EFAB dcde | fedB AFDF | E2 EE E2 :| DE | 
 FAAB defe | dBAB d2 de | fedB AFEF | DEFG A2 dB | AFEF D2 FD | EFAB dcde | fedB AFDF | E2 EE E2 :|  