Compose a musical work incorporating the given motif and adhering to the outlined alphabetical framework.
X:1
L:1/8
M:12/8
K:D
['ABA ABA', 'dcd a2 g']  
X:1
L:1/8
M:12/8
K:D
 F | ABA ABA ABA F2 E | DFA B2 A BcA F2 E | dcd a2 g fgf B2 A | ABA BAB d3- d2 :| A | 
 dcd a2 g f2 d B2 A | BcA BcA BcA F2 E | dcd a2 g fgf B2 A | ABA BAB d3- d2 :|  