(remember: (a/b)÷(c/d) = (a/b) x (d/c). We have to apply and at the same time put in the numerator sinФ into factor and in the denominator cosФ into factor.
So: (cosФ.sin²Ф - sinФ) / (cos²Ф.sinФ - cosФ) x (sinФ/cosФ) Now put again sinФ as a factor in the numerator and cosФ in the denominator
→→{[sinФ(cosФ.sinФ - 1] / [cosФ(cosФ.sinФ - 1]} x (sinФ/cosФ)
Simplify by (cosФ.sinФ - 1)
→→ (sinФ/cosФ) x (sinФ/cosФ) = (tanФ) x (tanФ) = tan²Ф