Construct a piece of music by converting the stated musical sequence into an alphabetical format and integrating the supplied motif.
X:1
L:1/8
M:6/8
K:D
['(ef).g (ga).g', 'd) (ec).A ABA ec.A (ABA) (fg).a (ec).A']  
X:1
L:1/8
M:6/8
K:D
 (ef).g (ga).g | (ef).g (ga).g | (fd).f (ec).A | d2 d (f2 d) :: (ec).A ABA | ec.A (ABA) | 
 (fg).a (ec).A | .d2 .d (f2 d) :|  