Let's prove that (sec x)(csc x) is equal to cot x + tan x
Hence student A did correctly prove the identity properly.
Also Looking at student B's work, he verified the identity properly.
So, Both are correct in their own way.
Part B
Identities used:
(appeared in step 3)
(appeared in step 6)
(appeared in step 6)