Solution
Part A : The students verify the two identity very well and it was properly
solved

reason why the substitution work for both students
Also the inverse of identity like

Therefore the two identity that where used by students A's is

The first one appear in Step 3, while the second one appear in Step 5