Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/2
K:G
['(Tfe) d2 D2 dfed e2 E2 egfe', "a2 b2 G2 bd'c'b a2 F2 ac'ba"  
X:1
L:1/8
M:2/2
K:G
 (Tfe) | d2 D2 dfed | e2 E2 egfe | fefd bagf |{f} e6 :: a2 | b2 G2 bd'c'b | a2 F2 ac'ba | 
 g2 E2 gbag | fdef gabc' | d'fed A2 Tc2 | d6 :|  