Can you check the following? Identify the sentence type.

1. I like playing basketball, and my brother likes playing tennis.
Ans: compound

2. I'll help you if you help me.
Ans: complex

3. My mother cooked dinner while I was doing my homework.
Ans: complex

4. Because she runs every day, she is very fit, and she eats well.
Ans: compound complex

All are right. =)