Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['ABdf (3efe dB AFDE FE E2 ABdf', 'faaa gbbb afef'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 ABdf (3efe dB | AFDE FE E2 | ABdf e2 df | afeg fd d2 :| faaa gbbb | afef dB B2 | faaa gbbb | 
 afef d4 | faaa gbbb | afef dB B2 |"^11" A2 FG ABdf | afeg fd d2 |]  