[@aventurin's answer](https://crypto.stackexchange.com/a/43517/) is correct, and deserves to be selected. I'm going to give a cruder answer that might be helpful as well. One fruitful trick to approach this sort of problem is just to try and see what happens when you use very small values of of $n$. For example, if we try $n = 2$ and $n = 3$ we can just enumerate all possible inputs and see if we spot any patterns that might be generalizable to all choices of $n$. For $n = 2$: $$ \begin{align} G_K(0) & = & F_K(00) & \parallel \boxed{F_K(01)} \\ G_K(1) & = & \boxed{F_K(01)} & \parallel F_K(11) \end{align} $$ Gee, that looks promising: $G_K(0)$'s last two bits must be equal to $G_K(1)$'s first two bits (as I've highlighted by drawing boxes). Given a randomly chosen function of the same type as $G$, the probability that the last two bits of $G_K(0)$ are the same as the first two bits of $G_K(1)$ is $2^{-2}$. (Can you explain why?) For $n = 3$, we just need to try the first two inputs in lexicographical order and we spot the same pattern: $$ \begin{align} G_K(00) & = & F_K(000) & \parallel \boxed{F_K(001)} \\ G_K(01) & = & \boxed{F_K(001)} & \parallel F_K(011) \end{align} $$ Given a randomly chosen function of the same type as $G$, the probability that the last three bits of $G_K(00)$ are the same as the first three bits of $G_K(01)$ is $2^{-3}$. You should be able to generalize this pattern to arbitrary choices of $n$, write the adversary as an algorithm, calculate its chances of success against $G$ and against a random function of the same type, and from that your adversary's advantage as a function of $n$.