Analysis:
The rule beginners learn is 'the high card from the short hand'.
More precisely, when you need to run a long suit, and you want to avoid a blockage, first run the high cards from the short hand.
Here, we play the ♠A and ♠K (following with low cards from the long hand), before playing ♠2 (to ♠Q in the long hand).