Answer:
The sin B got canceled and the one left same as on the other parenthesis inside the parenthesis I canceled the cos so one left now 1*1=1 and 1 over tan b plus 1 over tan b- we extract the tan to opp/adj then opp and adjacent got canceled and the one too so just only one left so 1=1