Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:G
['d>cBA GE G2', 'g d gbgb gbb(a/g/) fdad faaf g>abg'  
X:1
L:1/8
M:4/4
K:G
 g | d>cBA GE G2 | GdBd GdBg | d>cBA GE G2 | Ggfd e2 g :| d | gbgb gbb(a/g/) | fdad faaf | 
 g>abg agfd | egfd e2 g :|  