Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
M:4/4
K:D
['', 'Bd ef g2', 'e2 af f2 dfed |1 Bd ef'  
X:1
L:1/8
M:4/4
K:D
 fe |: d2 Ad BdAB | d2 fd edBc | d2 Ad BdAd |1 Bd ef g2 fe :|2 Bd ef g2 fg |: af f2 df f2 | 
 af f2 ge e2 | af f2 dfed |1 Bd ef g2 fg :|  