One small quibble. After the initial back-rank check with the white queen, the black king CANNOT return to the back rank, else white wins. To avoid losing, the black King must shuttle between g7 and h7. The move list (with the initial puzzle) shows the black king going to g8; this is a losing move.
White to play and draw.
This puzzle came from an actual gamebetween Dutra and Echeverry.
White's possition is teetering here. the d-pawn is threatening to promote and white cannot stop it without losing his rook (If Rd1, then Be2! and wins.)But this game ended in a draw. Can you duplicate the moves?