Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['BAFA D2 FA BABd e2 de faaf', 'd2 fg afdf a2 gf efga b2'  
X:1
L:1/8
M:4/4
K:D
 FA | BAFA D2 FA | BABd e2 de | faaf egfe | dfed B2 dA | BAFA D2 FA | BABd e2 de | faaf egfe | 
 d2 f2 d2 :| fg | afdf a2 gf | efga b2 ag | fagf egfe | dfed B2 dA | BAFA D2 FA | BABd e2 de | 
 faaf egfe | d2 f2 d2 :|  