Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/2
K:F
['efeA dAdA', '', '[Gc]BAB cdcB A G3 [CF]3 [CF] [CF]2'  
X:1
L:1/8
M:2/2
K:F
 (e2 |S [cf]2) [cf]2 efeA | dAdA c3 e | (fe)fg e [ce]3 | [df]3 [df] [df]2 e(e | [cf]e)[cf]f efeA | 
 dAdA cBAB | cBcc dcAG | [FA]E[FA]G [FA]2 :|[K:C] D2 |: C2 D2 (E G3) | [Gc]4 [Gc]BAB | cdcB A G3 | 
 [CF]3 [CF] [CF]2 [CF]2 | [G,G]2 [DA]2 [DB]2 [Dd]2 | [dg]3 [dg]- [dg]fef | gagf e d3 |1 
 [Ec]3 [Ec] [Ec]2 (3G,A,B, :|2 [Ec]2 a2- aa g2S ||  