An antonym for "impertinence" in this excerpt is respect (B).
First of all, we need to establish what antonyms are: they are words of opposite meanings.
In this description, the character is annoyed by the eyes she perceives in the wallpaper's pattern; she thinks they are being rude because they keep staring at her. The meaning of impertinence, in this case, is insolence, effrontery. An antonym would therefore be respect.