Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:D
['defe dBAF BFAF', 'F/E/D AD BDAF'  
X:1
L:1/8
M:4/4
K:D
 defe dBAF | BFAF E3 A | defe dBAF | BFAF D3 A | defe dBAF | BFAF E3 A | defe dBAF | BFAF D2 DE || 
 F/E/D AD BDAF | G/F/E BE dEBE | F/E/D AD BDAF | GBAF D2 DE | F/E/D AD BDAF | G/F/E BE dEBE | 
 F/E/D AD BDAF | GBAF D2 e/f/g | a3 b afdf | gece gece | a2 af abag | fgfe defg | a3 b afdf | 
 gece gece | a2 af abag | fgfe d2 A/B/c ||  