Maybe this is a typo in our assignment and solution, but I can't tell.
The question:
The solution:
What happened here with the minus signs in the first factor and in the exponent?
Edit: the assignment asked for the fourier transform of $f(x)$. So I guess the expression highlighted in yellow is supposed to be equivalent to $f(x)$

