Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
Q:1/4=120
M:6/8
K:D
['', 'd2 c Bcd A2 G FED G2', 'd e2', 'ecA (A<f)f e2 d']  
X:1
L:1/8
Q:1/4=120
M:6/8
K:D
"^Spirited" A"^A" |: d2 c Bcd | A2 G FED | G2 E FGA |1,3 C2 D E2 c :|2,4 D2 C D2 |]"^B" |: A | 
 d>ed d2 d | e2 e ecA | (A<f)f e2 d | dcB AB"^->A2"c |]  