A is similar to matrix say B iff there exist an invertible matrix p such that

so since the inverse for the identity is the identity so

this is true we find the matrix p

ok second one

B is similar to A so there exist p such that

let

we find the matrix so A is similar to B try in the last one