Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:2/4
K:D
['A>B AF AB d>e fa ef', 'fa ef'  
X:1
L:1/8
M:2/4
K:D
|: B | A>B AF | AB d>e | fa ef | dB Bd | A>B AF | AB d>e | fa ef | d2- d :| e | fa a>f | gb bg | 
 fa ef | dB Bd | fa af | gb b>c' | d'c'- c'a | b2- b>c' | d'b c'a | b>a fe | fa ef | dB Bd | 
 A>B AF | AB d>e | fa ef | d2- d ||  