Develop a piece of music by taking inspiration from the given musical pattern.
'Sectional: Through Composed'  
X:1
L:1/8
M:4/4
K:G
"^A" d2 d2 ^c2 |: cdfc dfcd | fcdf- fcdc | ^ABeA BeAB | e^ABe- edBG | (3cdc Bc- cB c2 | 
 A^GAB cAFD | Gfag Bc^cd | BGEG- G2 d^c | cdfc dfcd | fcdf- fcdc | ^ABeA BeAB | e^ABe- edBG | 
 E2 ^GB edcB | A^GAc edcA | BDGB- BG A2 |1 G2 d2 d2 ^c2 :|2 G8 |:[K:C]"^B" G2 ^FG- GF G2 | 
 e2 ^de- ed e2 | d2 ^cd- dc d2 | A6 G2 | FGBF GBFG | BFGB- BAGF | ^DEAD EADE | A^DEA- AcAE | 
 G2 ^FG- GF G2 | e2 ^de- ed e2 | d2 ^cd- dc d2 | A6 ^G2 | =GABc defg | agfe dcBA | G^FGe- ec d2 |1 
 c4 E2 F2 :|2 c2 d2 d2 ^c2 |:[K:G]"^C" BdgG BdDG | BB,DG- GBdA | [AF]2 FC (3FGF C2 | FG^GA z G A2 | 
 cdfA ceFA | dFAc cdfd | B2 DG (3BcB G2 | Bc^cd- dcBA | ^GBeB GEB,E | ^GB,EG B,4 | A^ceE Ac^CE | 
 AA,^CE A,4 | BdgG BdDG | BB,DG- GBdB | FGAd- dA (3BdB | [BG]8 :|  