basic rule in matrix

Just want to know the reason behind the highlighted step ..
Like if the squaring is there so why isn't it
P^-2A^2P^2 ?
Screenshot_20240711-2004002.jpg
Screenshot_20240711-2003482.jpg
Was this page helpful?