Construct a musical piece that contains the provided motif and abides by the prescribed alphabetical scheme.
X:1
L:1/8
M:4/4
K:Gdor
['BAGB AGFD GFDE FDCF DEFF GA=Bc', 'A ABBA G3 F (3GFD CF DFCF', 'dgg^f gd d2 gdad gdde']  
X:1
L:1/8
M:4/4
K:Gdor
 A | BAGB AGFD | GFDE FDCF | DEFF GA=Bc | dggg fdcA | BAGB AGFD | GFDE FDCF | DEFF GA=Bc | 
 de^fd AG G A || ABBA G3 F | (3GFD CF DFCF | DEFF GA=Bc | dggg ^fdcA | dcAd cAGc | AGFD GF D2 | 
 G,A,=B,D GA=Bc | de^fd AG G2 |: dgg^f gd d2 | gdad gdde | effe fc c2 | ^fgag ^fdcA | dgg^f gd d2 | 
 gdad gdde |1 effa g2 ga | baag ^fdcA :|2 fefa g2 ga | baag ^fdcA ||"^Ending" BA (3GAB AG (3FED | 
 G4 z4 ||  