Pick up the block in front of you using Wingardium Leviosa, and then you will want to flip it upside down, so the arrow is pointing downwards. Then, place it into the missing spot between the top two blocks, and you'll have solved the puzzle.