Change it into a declarative sentence
Yang Qing said that he would not play, and he would go to the library.
A declarative sentence is a statement of facts or the speaker's point of view. It includes affirmative sentences and negative sentences. Declarative sentences are written with a period at the end of the sentence, but they read in a falling tone.