Click and hold the red square.
Now, drag it so that you neither touch the walls nor get hit by any of the blue blocks.
If you make it to 18 seconds, you are doing brilliantly!