If you have expanded Equation 15.5.6 using the substitution given, try separating the resulting equation into the real and imaginary components. It looks to me like Equation I in 15.5.7 is the imaginary part and Equation II of 15.5.7 is the real part after substituting for [itex]\sin[x][/itex].
I don't think that the two parts of 15.5.7 are the real and imaginary parts of 15.5.6, but rather they result from the fact that [itex]e^{ikr}[/itex] and [itex]e^{-ikr}[/itex] are orthogonal functions of [itex]r[/itex], and hence the relation [tex]\alpha e^{ikr}+\beta e^{-ikr}=0[/itex] can only be true for all [itex]r[/itex] if [itex]\alpha=\beta=0[/itex].[/tex]