I'm sorry if that comes off as making sound like you're dumb or something. not my intention. I'm having trouble try to see where could make the mistake and get just sin^2A.
Anyhow all he did was convert the cscA to 1/SinA and Cot A to Cos A/Sin A then simplified.
Sin A * [1/SinA - Cos A/(CosA/SinA) ]
Sin A * [1/SinA - (SinA/1) ] or just Sin A * [1/SinA - SinA]
Now just distribute.
SinA/Sin A - SinA(SinA) = 1 - Sin^2 A
1-Sin^2 A = Cos^2A
Its just one of those trig identities you should know. there's really no trick to it that I know of to solve it if you don't know the identities.