Here's why:
* Two independent clauses: The sentence consists of two complete thoughts connected by the conjunction "and":
* Flenoy worked hard (subject-verb)
* He earned his degree in mechanical engineering (subject-verb)
* Conjunction: The conjunction "and" joins the two independent clauses.
Therefore, the sentence is a compound sentence.