Assume that $S(0)$ is the current rate of exchange for foreign currency. Assume that and $K_h$ and $K_f$ are rates of return on home and foreign currency if it is invested over a period $T$.
(A) Assume that the forward rate of exchange $F$ satisfies $F > S(0) \frac{1+K_h}{1+K_f}$ Construct a portfolio that offers a risk-free profit.
(B) Assume that the forward rate of exchange $F$ satisfies $F < S(0) \frac{1+K_h}{1+K_f}$ Construct a portfolio that offers a risk-free profit.
The answer my textbook gives me is if $F > S(0) \frac{1+K_h}{1+K_f}$, then $(\frac{1}{1+K_f}, -\frac{1}{1+K_f}, -1)$, however I have no idea what this means?
Why does this answer give us an arbitrage (risk free profit) and how do you know this when we don't have any numers to work with? How do you derive this answer so I can try to get the answer for part B?
I'll work out what the arbitrage free forward has to be (assuming a spot rate of $1$ as you didn't say which way $S(0)$ went).
There's only one type of trade that makes sense in this set up: borrow $1$ unit in currency $X$...you will then owe $1+K_X$ at the end of the period. Swap your unit into currency $Y$ at the spot rate. Let's say the spot rate is $1$...that's just a question of units. Invest it so that you'll have $1+K_Y$ at the end of the period. Then swap it back at the Forward rate $F_{Y\to X}$ and pay off your loan. This has to be a zero sum transaction since every step is risk free. The math is $$F_{Y\to X}\times (1+K_Y)=(1+K_X)\implies F_{Y\to X}=\frac {1+K_X}{1+K_Y}$$
If this equality does not hold then either this or the opposite of this transaction is guaranteed to make a riskless profit.
Is this enough for you to finish?