Got two problems for extra credit that I can't seem to figure out if anyone here can.

Prove the following.

1. cosx-(sinx-1)/cosx+(sinx-1) = sinx/1-cosx It says as a hint to multiply

the numerator and

denominator of the left side

by cosx-(sinx-1)

2. cotx/1-tanx + tanx/1-cotx - 1 = secxcscx

If anyone happens to know how to do these, please let me know, thanks.