Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:Ador
['A3 B EGBG AGAB deed A2 AB', 'AGBd e2 dB eAAB |1 dged BA'  
X:1
L:1/8
M:4/4
K:Ador
|: A3 B EGBG | AGAB deed | A2 AB GABd |1 egdB BAAG :|2 egdB BA A2 |: e2 dB eAAB | e2 dB AGBd | 
 e2 dB eAAB |1 dged BA A2 :|2 dged BAAG ||  