Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:E
['BdBd e2']  
X:1
L:1/8
M:4/4
K:E
 E=GBB B2 G2 | BdBd e2 B2 | BdBd e2 fd | e8 | B2 e2 =d=cBG | AB/=c/ B2 A=GFD | EF=GA B2 AF | E8 |]  