Suppose now the time is t.
If you want to have 1 share at time T, you have 2 choices:
1) Deposit amount F*exp(-r*(T-t)) at bank now. Then you'll have F at time T to buy 1 stock at time T.
2) Buy exp(-q*(T-t)) stock at price S now. With the dividend payout, you will get 1 stock at time T.
You can see both cases give you 1 stock at time T, so
F*exp(-r*(T-t) = S*exp(-d*(T-t))
=> F = S*exp(-(r-d)*(T-t))
I don't think there's any problem to ask simple question in forum.
Good luck for your paper.