u have to multiply ( sin x / 1 + cos x ) by its conjugate, which is (1-cosx)/(1-cosx)
--> (sinx-sinxcosx) / 1 - cos squared x
--> sinx(1-cosx) / 1 - cos squared x
use formula cos squared x= 1-sin squared x
-->sinsquared x=1-cos squared x
sinx (1-cosx) / sin squared x
sinx cancel
and you're left with the left side
(1-cosx / sinx)