Math help in rotation

I tried to forcing all the pieces to look like yours, no luck