Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
Q:1/8=80
M:4/4
K:none
['A2 |{g} GA{gAGAG} A2{gde} dcBA'  
X:1
L:1/8
Q:1/8=80
M:4/4
K:none
 af |{g} ec{g}dB{g}cA{gAGAG} A2 |{g} GA{gAGAG} A2{gde} dcBA |{gBeBG} B2{g} Bc{gde}dc{g}de | 
{g} fe{g}dc{gBd} B2 af{g}ec{g}dB{g}cA{gAGAG} A2 |{g} GA{gAGAG} A2{gde} dcBA | 
{gBeBG} B2{g} Bc{g}daed |{g} c{d}A{g}B{d}G{g} A2 |]{g} ed |{g} c{d}A{g}ceae{g}ce | 
{g} dB{gBeBG} B2{g} Bf{g}ed |{g} c{d}A{g}ceae{g}ce |{g} fe{g}dc{gBd} B2{g} ed{g}c{d}A{g}ceae{g}ce | 
{g} dB{gBeBG} B2{g} Bf{g}ed |{g} c{d}A{g}ce{g}daed |{g} c{d}A{g}B{d}G{g} A2 |]  