Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:F
['f>e fa g/f/e/g/ f/c/A/c/ fa', "f2 a3 a c'3 a g3 g"  
X:1
L:1/8
M:2/4
K:F
|: f>e fa | g/f/e/g/ f/c/A/c/ | f>e"^a." fa | g/f/e/g/ f2 :: a3 a | c'3 a | g3 g | d4 | e3 f | 
 ag ec |1 dc cB | A4 :|2 f>e f/e/f/g/ | f2"^Da Capo" c2 |]"^Final measure at end." | f4 |] 
"^Var:""^a." f>a |]  