Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/4
K:G
['G2 BG Ac c2 BG AG', 'DE ED FA A2'  
X:1
L:1/8
M:2/4
K:G
|: G2 BG | Ac c2 | BG AG | E/F/G FA | G2 BG | Ac c2 | BG AG | ED D2 :: DE ED | FA A2 | GD BG | 
 Ac c2 | DE ED | FA A2 | BG AG | ED D2 :|  