Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:D
['defe dBAB dBAF', 'D G FDAD FDAD GEBE GEBE FDAD', 'a2 af'  
X:1
L:1/8
M:4/4
K:D
 A | defe dBAB | dBAF E2 Ec | defe dBAB | dBAF D2 D :: G | FDAD FDAD | GEBE GEBE | FDAD FDDd | 
 BGAF D2 D :: a2 af a2 af | gebe gebe | a2 af a2 af | fdef d2 :|  