Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/8
Q:1/8=300
M:4/4
K:A
['ABcd |:S e2', '=gedB e2', 'fg a2 a2'  
X:1
L:1/8
Q:1/8=300
M:4/4
K:A
 ABcd |:S e2 dB =gedB | e2 dB =GABc | e2 B=G dGBc | d2 [BE]2 ABcd | e2 dB =gedB | e2 dB =GABd | 
 e2 ed B2 A2 |1 A2 [AE]2 ABcd :|2 A2 aa a2 a2 || e2 ef =gedB | e2 ef =g2 g2 | d2 B=G dGBd | 
 =g2 fg a2 a2 | e2 ef =gedB | e2 dB =GABd | e2 ed B2 A2 |1 A2 fg a2 a2 :|2 
 A2 [AE]2 A/A/A d2"_DS" ||  