With this particular trump holding, you will lose a trump trick only if East started with all three missing diamonds. So you begin by playing the ♦A. If both follow, a second trump to the king draws the last trump. If, as in the diagram, East shows out on the first round, you can take the marked diamond finesse to extract all of West’s trumps.
You have two certain club losers and a possible loser in spades. If you can work out which opponent to finesse for the ♠Q, you can make your contract, but there’s a better way to play: Make the opponents take the finesse for you.
After drawing trumps, play two more rounds of hearts, eliminating that suit. Then play a club. The defense can win and cash a second club, but they must then play a spade for you, picking up the suit, or give you a ruff and a sluff, allowing you to avoid a spade loser.