Hole Cards     Board Cards  
       

Now you have made quads with 2-2-2-2-A. You don't need to use both the Ace on the board and the one in your hand, just one is sufficient here!

 

  Hole Cards     Board Cards  
       

In this hand you have made a Ten-high straight flush with the 10-9-8-7-6 (all spades). You don't need the A, since a straight flush beats an Ace-high flush.