Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/8=300
M:2/4
K:G
['EA AB cd', 'ab ag ef'  
X:1
L:1/8
Q:1/8=300
M:2/4
K:G
|: EA AB | cd e2 | G>F GA | GE ED | EA AB | cd e>f | ge dB | A2 A2 :: a>g ab | ag ef | g>f ga | 
 ge ed | ea ab | ag ef | ge dB | A2 A2 :|  