Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:G
['', 'BA GdBd', 'AGEF [GG,]2'  
X:1
L:1/8
M:4/4
K:G
 [dD]4 ef || g2 BA GdBd | edBA GdBd | gB{d}BA GdBd | eB{e}dB A2 Bd | [gB]2{d} BA GdBd | edBA GABd | 
 g3 d e<dBG | A/A/G F2 G3 g{f} | g2 BA GdBd | edBd GdBd |{a} g2 BA GdBd | eB{e}dB [AA]2 Bd | 
 [gB]2{d} BA GdBd | edBd GdBd | g{a} g2 f edBG | AGFD [GG,]3 D || Gage dBGD | A<[FA]AB AGEF | 
 [GG,]2 [dG]d{e} dBGB | AFAD A2 BA | Gage dBGD | A/A/G AB ABEG | [gB]afg egdB | AGFA [GG,]3 D | 
 Gg{a}ge dBGD | A/A/[FA]AB AGEF | [GG,]2 dd{e} dBGB | ABBG E3 F | [GG,]3 e dBGD | AGAB AGEF | 
 gafg (3efg dB | AGFD [GG,]3 g |]  