Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
M:4/4
K:D
['GE FD D2', 'cAAB cdeg']  
X:1
L:1/8
M:4/4
K:D
 (3ABA GE FD D2 | EF G2 EFGE | A2 GE FD D2 | EFGE A2 A2 | A2 GE FD D2 | EF G2 EFGE | 
 (3ABA GE FD D2 | EFGE A2 A2 || AAAB cd e2 | fded dc A2 | cAAB cdeg | faeA (3dcd e2 | cAAB cdeg | 
 fded dc A2 | cAAB cdeg | fAeA (3dcd e2 ||  