Due to the rushed nature of this game, there may not have been enough tutorial bits to beat "the cannon level". There is a sprint mechanic when holding shift, and the open door at the end of the sprint can be closed by pressing the right arrow key when immediately past the left portion, which will block the cannonballs. As for the teleport afterwards, you simply need to time it correctly and apply the same logic on your way to the goal.