Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:12/8
K:D
['|{fa} f2 d', "b{c'b}ag f2 d dcd{ef} edB ABd |{fa}"  
X:1
L:1/8
M:12/8
K:D
 dc{Bc}B |{AB} A2 F ABd{ef} e2 d BdB | AB{AB}A GFG{AB} A3 ABd | e{fe}fe dBd{ef} e2 d B2 e | 
 fg{fg}f ef{ef}e d3 :| d2 e |{fa} f2 d dcd{ef} edB ABd |{fa} f2 d d2 f a3 b{c'b}ag | 
{fa} f2 d dcd{ef} edB ABd |{fa} fef{ga} gec d3 :|  