Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
['d A>BA', 'fga agf'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
"^with spirit" d | A>BA AA>B | =c>dc c2 e | dcB ABc | d2 e f2 d | A>BA Adc | BcB Bed | cBA ABc | 
 ded d2 || d/e/ | f2 f fga | agf e2 f/g/ | a2 a gfe | dcB A2 d/e/ | fgf fga | agf efg | fed cBc | 
 ded d3 |]  