Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
M:6/8
K:D
['E2 A,', 'ABA d2 d ABA F3 ABA', 'EFG GFE']  
X:1
L:1/8
M:6/8
K:D
|: ABA FDF | AGF E2 A, | D2 A, E2 A, | AGF E3 | ABA FDF | AGF E2 A, | D2 A, E2 A, | FGE D3 :: 
 ABA d2 d | ABA F3 | ABA GAG | EFG F2 D | ABA d2 d | ABA F3 | ABA GEF | GFE D3 :: F2 F EFG | 
 GFE F2 D | F2 F EFG | GFE D3 | FGF EFG | GFE F2 D | F2 F EFG | GFE D3 :|  