Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:Amix
['A2 B>d f>d f2 e2 d>B', 'c<e d>B'  
X:1
L:1/8
M:4/4
K:Amix
 A2 B>d f>d f2 | e2 d>B G>A (3BAG | A2 B>d f>d f2 | e2 d>B A2- A>B ::[K:Ador] c2 B2 A2 A>c | 
 B2 B>A G>A (3BAG | c2 B2 A2 A>B |1 c<e d>B A2- A>B :|2 c<e d>B A4 |]  