Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:2/4
K:F
['A2 AA A2 A^F GG GA cB']  
X:1
L:1/8
Q:1/4=120
M:2/4
K:F
|: A2 AA | A2 A^F | GG GA | cB AG | A4 | G2 GG | G2 FE | FF AB | AG FE | D2 z2 :|  