when the distance between two kings is odd ( here its one square between them ) and its your opponents move , you have the opposition. If anyone wants to read a good book on this type of example then i suggest reading "Chess Fundamentals " by Capablanca.