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
['B d>ef edB B3 B3 def bag']  
X:1
L:1/8
M:6/8
K:D
 B | d>ef edB | B3 B3 | def bag | e3 efa | bc'b agf | gfe fdB | Bf/e/ dBB/A/ | B3 B2 :|  