Sagot :
the answer is A compound sentence it has a conjunction the word But to join these two sentences.
This is a compound sentence (A) because after the and you have another complete sentence and you also have a comma, however, don't always rely on the comma.