Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/8=280
M:4/4
K:Amix
['B2 GB e2 dB', 'eAcA e2'  
X:1
L:1/8
Q:1/8=280
M:4/4
K:Amix
|: ec | ABAc e2 cd | eada e2 cA | BdGB d2 Bd | eAce dGBG | A2 BA e2 cd | eada eAcA |1 B2 GB e2 dB | 
 B2 A2 A2 :|2 B2 GB e2 dB | c2 A2 A2 || ef | gaga eAcA | e2 df eABA | g2 fg dGBd | eAce dGBf | 
 gaga eAcA | e2 dg eABA | BdGB e2 dB |1 c2 A2 A2 :|2 c2 A2 A4 |]  