Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:4/4
K:D
['', 'EDB,E D2 FA BAFA', 'ge be']  
X:1
L:1/8
M:4/4
K:D
 ABc || dD (3DDD EDB,E | D2 FA BAFA | d2 cd Bd AF | DEFD EDB,D | FD (3DDD EDB,E | D2 FA BAFA | 
 dfec dBAG | FDEF D2 Bc | dD (3DDD EDB,E | D2 FA BAFA | d2 cA BAFA | DEFD EDB,D | F3 D EDB,E | 
 D2 FA BAFA | dfec dBAG | FDEF D4 |:{^g} a2 ^ga fd (3ddd | fdad fddf | ge be geef | ge be geeg | 
 f3 a g3 e | fdec dcBA | Bcde (3f^ga ec | dBAG FD D2 :|  