Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/4=120
M:2/4
K:D
['AD DA', 'd dc BA'  
X:1
L:1/8
Q:1/4=120
M:2/4
K:D
 A | AD DA | AD DA | AG FE | ED DA | AD DA | AD DA | AG FE | EDD ||[K:G] d | dc BA | B3 d | dc BA | 
 B3 d | dc BA | B3 d | dc BA | G3 |]  