Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:2/4
K:G
['A2 G2']  
X:1
L:1/8
M:2/4
K:G
 D>D | D2 G2 | A2 Ac | B2 A2 | G2 z2 | d2 dd | d2 d2 | c2 d2 | B2 z B | Bcd>e | dBcd/c/ | BABd | 
 cBAB/A/ | GABc | d2 e/d/c/B/ | A2 G2 | z2 |]  