Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:2/2
K:G
['dged B2 Ac BGdG EA A2 BGBd', 'g3 a gfeB d2 ed BGBc dggf']  
X:1
L:1/8
M:2/2
K:G
 dged B2 Ac | BGdG EA A2 | BGBd cdeg | fgaf g3 e | dged B2 Ac | BGdG EA A2 | BGBd cdeg | 
 fgaf g3 e :| g3 a gfeB | d2 ed BGBc | dggf gfeB | dega bgaf | g3 a gfeB | d2 ed BGBc | dggf gfeg | 
 fgaf g4 :|  