I found a setup for the cannon puzzle, it adds some consistency but isn't as fast as if you were to get all three hits on your first try, which I've only done twice.
First, enter into the area by the middle and walk immediately straight and then right onto the button, and you will 100 percent of the time hit the middle block. Then, walk straight down along the blue, walk back into the area, and without walking back out of the area, still holding up, hit down twice, keep holding up, and you'll walk onto the button and again, 100 percent of the time you'll hit the rightmost block.
I know I've made this thread into my personal blog but I feel oddly compelled to optimize this game. If anyone comes up with a setup for hitting the leftmost block please share because I am just at a loss with it, what a motherfucker it is.