Take a square and cut it as you wish into a finite number of pieces. Rearrange the pieces without rotating or flipping any of them to form an new square that is rotated 45-degrees compared to the
original.
My solution cuts the square into only six pieces. I also found it was easier to start with a 1 by 2 rectangle, which the six pieces can also form.