Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/16
M:2/4
K:G
['b2b2 g>fg>e d2d2B2 z G', 'A2A2 FAdf a2a2 f4 a2^g2 =g2>e2', 'b2b2 g>fg>e d2d2B2 z G', 'e2e2 efg2', 'g>fg>e d2d2B2 z G']  
X:1
L:1/16
M:2/4
K:G
 (3Bdg | b2b2 g>fg>e | d2d2B2 z G | F2A2 c2e2 | ed^cd B2(3Bdg | b2b2 g>fg>e | d2d2B2 z G | 
 FGAB cdef | g2g2 g2 :| z2 | A2A2 FAdf | a2a2 f4 | a2^g2 =g2>e2 | b2 (3aba ^g2a2 | A2A2 FAdf | 
 a2a2 f4 | a2^g2 =g2>e2 | d2 d2 d2 :| (3Bdg | b2b2 g>fg>e | d2d2B2 z G | F2A2 c2e2 | 
 ed^cd B2(3Bdg | b2b2 g>fg>e | d2d2B2 z G | FGAB cdef | g2 g2 g2 :|[K:C] z2 | e2e2 efg2 | 
 e2e2 efg2 | f2f2 fdB2 | fefg fdB2 | e2e2 efg2 | e2e2 efg2 | f2f2 fdBd | c2c2 c2 :|[K:G] (3Bdg | 
 b2b2 g>fg>e | d2d2B2 z G | F2A2 c2e2 | ed^cd B2(3Bdg | b2b2 g>fg>e | d2d2B2 z G | FGAB cdef | 
 g2g2 g2 :|  