(2Sinxcosx-2cos^2x)/sinx
=[2Sinxcosx-2(1-sin^2x)]/sinx
=[2Sinxcosx-2+sin^2x)]/sinx
=2cosx+sinx-2/sinx