Place the thumb of your right hand on the first A key above middle C. Middle C, also known as C4, is the fourth C key on an 88-key piano as you're counting from the left side of the keyboard.
Place the pinkie finger of your right hand on the second E above middle C, which is the first E key above the A key you are playing.
Press down with both fingers at the same time to strike an A5 chord. You can play this arrangement in any octave on the piano, not just the one immediately above middle C. This note combination is known as the root position.
Invert the chord by playing the E key with your thumb, making it the bottom note, and placing your pinkie on the A key three steps above. There won't be as much space between these intervals as there was in the first chord you played because it is now inverted. You're playing the fifth of the chord on the bottom instead of on the top.