Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['EBBA B2 EB B2 AB', 'eB (3BBB'  
X:1
L:1/8
M:4/4
K:D
|: EBBA B2 EB | B2 AB dBAG | (3FED AD BDAD | (3FED AD BAGF | EBBA B2 EB | B2 AB defg | afec dBAF | 
 DEFD E2 :: eB (3BBB eBgf | eB (3BBB gedB | A2 FA DAFA | BAFA defg | eB (3BBB eBgf | 
 eB (3BBB defg | afec dBAF | DEFD E2 :|  