Explanation:
You can easily identify a compound sentence if there are any words that are related to the FANBOYS!
FANBOYS:
F -for
A - and
N - NOR
B - but
O - Or
Y - Yet
S - So
If any of these words are mention in the sentence, it is a compound sentence