Retrograde analysis of certain endgames