Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
['A2 dcdA Bcde gfed cBAG FAdf gfed', 'd2 fg agfe defg bagf e2 ed'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
 A2 | dcdA Bcde | gfed cBAG | FAdf gfed | cedB A2 Bc | dAeA fAgA | agfe dcBA | dfeg faeg | 
 f2 d2 d2 :| fg | agfe defg | bagf e2 ed | cAeA gfed | cedB A2 Bc | dAeA fAgA | agfe dcBA | 
 Bdce dgeg | f2 d2 d2 :|  