Construct a musical piece that contains the provided motif and abides by the prescribed alphabetical scheme.
X:1
L:1/8
M:6/8
K:G
['A2 B', 'd def']  
X:1
L:1/8
M:6/8
K:G
 A | B2 B BAB | d2 c A2 B | G2 G GDG | B2 A A2 B | c2 c cBc | e2 d B2 e | d2 B AFD | G3 G2 :: g | 
 f2 d def | g2 B B2 e | d2 B BAG | B2 A A2 a | g2 d def | g3 a2 g | fed ed^c | d3- d2 :|  