Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:G
['B4 (3BcB AB cdef', 'eAAA eAAA eAef gbaf']  
X:1
L:1/8
M:4/4
K:G
 B4 B4 | (3BcB AB cdef | d3 d dcAG | FDAD BDAF | DG G3 B4 | (3BcB AB cdef | g3 fg ecAF |1 
 G2 GF G4 :|2 G2 GF G2 Bd || g3 g gdBd | g2 fg eAAA | eAAA eAef | gbaf gfed :|  