Answer: 2. I like playing soccer; my brother prefers basketball.
Explanation: The sentence that correctly uses a semicolon is: "I like playing soccer; my brother prefers basketball." A semicolon is used to connect two independent clauses that are closely related in meaning.