i) If trumps are 3-2, draw 3 rounds, A
♦, A
♥, K
♥. If Q did not drop, exit with a heart. If east wins, he must give you a ruff and discard or lead up to your KJxx of diamonds, and you make. If west wins, then you still have the diamond finesse, but if he returns
♦, take the Ace first then finesse.
If trumps are 4-1, draw trump, cash the aces, then try both finesses, as the ruff-and-discard isn't going to do you any good.
ii) If trumps are 3-2, draw 3 rounds, cash AK
♦. If the Q did not drop, exit with a low diamond. If the Q wins, you're golden. If whoever wins can't exit with a diamond, you're golden - ruff and discard in clubs, and opponents breaking hearts (awww) gives you 3 heart tricks.
If they exit a diamond, play them for the Q
♥ and finesse accordingly, since clearly they're being a jerk.
If trumps are 4-1, draw trump, cash the A
♦, then finesse the diamonds. If it fails and they return a diamond, play as above.
V