We will use the fact that since tangent and cotangent are reciprocals, that their product equals 1: Indicate 1's multiplied by the terms on top: Substitute the products of a tangent by a cotangent for the 1's: Erase the unnecessary parentheses: Factor tanA*cotB out if the numerator: Cancel the tanB+cotA's Edwin