Look at LHS and RHS. You'll see LHS with tan^2(c) and RHS with sin^2(c). The only way to turn tan^2(c) into sin^2(c) is by making it sin^2(c)/cos^2(c). As for for cosec^2(a) and coses^2(b), you turn them into cot^2(a) + 1 and cot^2(b) + 1. Once that is done, you multiply top and bottom by cos^2(c), expand the entire thing. After that you just turn cos^2 (c) into 1-sin^2(c). Hope that helps.