Recall the relationship 2i sin(z) = exp(i z) - exp(-i z). This may help (although I think there's a sign error somewhere, so you may want to check your intermediate working).
(edit: earlier version had i e^(ikx)/k, hence my suggestion of a sign error).