Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:G
['G2 B', 'TB2 A GED'  
X:1
L:1/8
M:6/8
K:G
 B | DFD G2 B | AGE G2 B | DFD G2 B | AGE E2 G | DFD G2 B | AGE G2 A | Bdc TB2 A | GED D2 :: B | 
 dcd TBAG | BdG BAG | dcd BAG | BAA A2 B/c/ |1 dcd BAG | BdG BAG | ABc TB2 A | GED D2 :|2 dcd efg | 
 afd edB | cdc TB2 A | GED D2 ||  