Help buying the game

Hey so, i was checking the windows store today and saw that Forza Horizon 3 has a promotion.
You can buy the game for half the price if you have a xbox gold live subscription.

Can i subscribe for a month, buy the game and, after the subscription end, keep playing the game?
I know i can wait a week to buy on Black Friday but the wait is killing me, lol