Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:4/4
K:Emin
['BEBE cBcA BEBE cAFA BEBE cBcB', '(3gag fg (3BBB BA'  
X:1
L:1/8
M:4/4
K:Emin
 A | BEBE cBcA | BEBE cAFA | BEBE cBcB | Addc BGGA | BEBE cBcA | BEBE cAFA | BEBE cBcB | 
 Addc BGBd || (3gag fg (3BBB BA | G2 ag fdef | (3gag fg (3BBB BA | GBdc BGBd | (3gag fg (3BBB BA | 
 G2 ag fdcA | GBdB cdef | gbaf g3 A ||  