You can't get out of that one. You can't move your rook forward or white will move and back-line you, you can't leave it of white will check mate you, and if you move your king to the corner, white will take the rook, then if your king stays where it is the queen will take the pawn H7, and if you move back towards the knight it'll move back to where it is and then white will check mate you next turn with queen to G7.
So basically you can't win...
I played a game and there was a quick end game. I'm wondering is there any possibility to avoid the check-mate.
Before the position on right side, the horse was on the g5 squer. In game I moved castle from c2-e2. and then white made with Queen check-mate.