Create a composition using the letter notation of the specified musical motif and the provided melodic theme.
X:1
L:1/16
M:3/8
K:G
['d4 cd', 'b2a2f2 a2{ga}g2e2']  
X:1
L:1/16
M:3/8
K:G
 g2>f2e2 | d4 cd | cBAGAc | (3(BcB) G4 | (3(gag g)fe2 | d4 cd | cBAGAB |1 G3 G3 :|2 [Gd]2 z2 A2 | 
[K:D] |: d2 efga | b2a2f2 | a2{ga}g2e2 | f2d2A2 | d2efga | b2a2f2 | a2{ga}g2e2 |1 d4 A2 :|2 d6 ||  