How do you get to Mewtwo?

I have been at the this puzzle for over an hour and I’m still getting nowhere

There is no skill involved. It’s just luck.

thanks.