Compose melodies using the provided alphabetical pattern of the musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['g2 d>c', 'g2 a2 ag fa a2 b2 ba']  
X:1
L:1/8
M:4/4
K:G
 g2 d>c B<d dg | e<c A>G FA A2 | g2 d>c Bed^d | egfa g2 g2 :: a2 ag fa a2 | b2 ba gb b2 | 
 c'2 c'a b2 bg | abag fdef |]  