Show that matrices A and B are similar by finding an invertible matrix P satisfying A=P⁻¹BP. Find the inverse of P.
A=[[9,-6,12],[10,-8,10],[-8,4,-11]] and B=[[-7,-4,0],[3,0,0],[1,1,-3]]