Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:G
['G2 BG', 'dg g2']  
X:1
L:1/8
M:4/4
K:G
 G2 BG DGBG | A2 eg fdcA | G2 BG DGBd | cAFG AG G2 :| dg g2 dg g2 | df f2 df f2 | dg g2 dg g2 | 
 d^cde fd=cA | dg g2 bgag | fdde fefg | afge fde^c | d^cde fd=cA |]  