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:G
['d2 d d3', 'dc (Bb)bb b2 ag (fd).d.d']  
X:1
L:1/8
M:4/4
K:G
 (3(uDEF)S | GDB,D EFGA | B d2 d d3 uB | A d2 d d3 uc | B d2 d d3 uD | GDB,D EFGA | B d2 d d3 B |1 
 A a2 a a2 g2 | fgef dcBA :|2 cBAG FDEF | GDB,D G,2 || D2 | (Dd)dd d2 dc | (Bb)bb b2 ag | 
 (fd).d.d (e^c).c.c | dAFA GFED | (Dd)dd d2 dc | (Bb)bb b2 ag | (fd).d.d (e^c)cc |1 dAFA d2 :|2 
 dAFA DD"_D.C."EFS |]  