Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:3/4
K:G
['[dB]>[cG] [BD]>[GE] [BF]>[cG] [dA]>[BF] [cG]<[eB] [AE]2 [ae]>[gc]', '[bg]>[ae] [gd]>[BG] [dB,]>[GD] [gE]>[eG] [fA]<[aD] [AF]2 [ae]>[gc]'  
X:1
L:1/8
M:3/4
K:G
|: [dB]>[cG] [BD]>[GE] [BF]>[cG] | [dA]>[BF] [cG]<[eB] [AE]2 | [ae]>[gc] [fB]>[dA] [fD]>[gE] | 
 [aF]>[fB] [gd]<[bg] [dG]2 | [dB]>[cG] [BD]>[GE] [BF]>[cG] | [dA]>[BF] [cG]<[eB] [AE]2 | 
 [ae]>[gc] [fB]>[dA] [fD]>[gE] | [aF]<[fB] [gd]2 [GD]2 :: [bg]>[ae] [gd]>[BG] [dB,]>[GD] | 
 [gE]>[eG] [fA]<[aD] [AF]2 | [ae]>[gc] [fB]>[dA] [fD]>[gE] | [aF]>[fB] [gd]<[bg] [BG]2 | 
 [bg]>[ae] [gd]>[BG] [dB,]>[GD] | [gE]>[eG] [fA]<[aD] [AF]2 | [ae]>[gc] [fB]>[dA] [fD]>[gE] | 
 [aF]<[fB] [gd]2 [GD]2 :|  