I already solved the number 1 but i can't solve the number 2...
Here's the solution:
cosx - (sinx - 1) / cosx = (sinx - 1) = sinx / 1 - cosx
*you'll cancel -(sinx - 1) and + (sinx -1) since that the first term is expressed in negative while the other is positive (outside the parentheses)
cosx / cos x = sinx / 1- cosx
1 = sinx / sinx
i hope it'll help...