Part A
Looking at the work done by each student, both students verified the identity properly because the trigonometric identities were properly applied where necessary, the steps were clear, mathematical operations were applied correctly and at the end, both sides of the equation were the same.
Part B
Looking at student's A verification,
In step 3, the pythagorean identity was used
In step 5, the reciprocal identity was used