Assemble a piece of music following the alphabetical representation and incorporating the provided motif.
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
['A^G AB', 'd>g gf', 'AB dc B2 A2 A>A AB cd']  
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
"^with spirit" G | B>A AA | AG GG | A^G AB | dc B2 |"^5" A>A A^G | AB cd | e>f ge | dB G || d | 
"^9" d>g gf | gf ed | d>g gf | fe d>d |"^13" dg gd | ed cB | Ae dc | cB AG ||"^17" G2 G>G | AG GG | 
 A>^G AB | dc B2 |"^21" A2 A>A | AB cd | e>f ge | dB G2 |]  