Square Pentagon game

Riddle game.
The scope is to put the pieces a) in a way that a square is formed b) a) in a way that a pentagon is formed