I don't know what was done, but
I would shoot the 2 straight ahead into the 9 softly, and freeze up the cue ball behind the 5. You would have to be real careful because a slip up could cost you the game. I think, just normally, that the 9 kisses off the 6 too much to make it into the corner, which is why you shoot the 2 softly, to setup a 2-9 combo.
Then, if they didn't hit the 2 on a kick, you would probably have a 2-9 combination shot into the corner.