Answer:
There are two independent clauses in this sentence.
“In fact, the last time he tried to lose weight, he ended up gaining weight”
Step-by-step explanation:
An independent clause is a sentence that can stand alone. It must contain a subject, and verb, and express a complete thought.
A subject is a noun that is doing the action or being written about. The subject of both sentences is "he".
A verb is an action word that describes what the noun is doing "losing weight/gaining weight".
Although both clauses are vague, they express complete thoughts.
Please let me know if this helped!