Compose a musical work incorporating the given motif and adhering to the outlined alphabetical framework.
X:1
L:1/8
M:3/4
K:Ddor
['Pa^g b^g a2 ef ge f2 ed', 'd^cd A3 BA^G AB ^cd ef']  
X:1
L:1/8
M:3/4
K:Ddor
 a2 | Pa^g b^g a2 | ef ge f2 | ed dg g2 | ga fe fg | Pa^g b^g a2 | ef ge f2 | ed a2 ^ce |1 d4 :|2 
 d3 |: efa | e3 d^cd | A3 BA^G | AB ^cd ef | d^c de fa | e3 d^cd | A3 BA^G | AB ^cd ef |1 d3 :|2 
 d4 ||  