Develop melodies by combining the designated musical pattern with the provided motif.
X:1
L:1/8
M:4/4
K:D
['A2 dB AFEF DEFD B,DA,B, D2 FA', 'fadf a2 gf'  
X:1
L:1/8
M:4/4
K:D
|: FG | A2 dB AFEF | DEFD B,DA,B, | D2 FA d2 ef | gfed BeeB | A2 dB AFEF | DEFD B,DA,B, | 
 D2 FA d2 ec | AFEF D2 :: de | fadf a2 gf | eace g2 de | fadf a2 gf | gfed Beeg | fadf a2 gf | 
 eace g2 de | gbef gece | Addc d2 :|  