Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:4/4
K:D
['Adfd a2 fd Affe fedc Beed', 'b2 bg dgbg'  
X:1
L:1/8
M:4/4
K:D
|: B | Adfd a2 fd | Affe fedc | Beed efga | bgaf gfed | Adfd a2 fd | Affe fedc | Beed efge | 
 afge d2 z :: a | b2 bg dgbg | a2 af dfaf | g2 ge cdec | dcde fdfa | b2 bg dgbg | afef d2 df | 
 ggge cdeg | fgec d2 z :|  