Complex sentence: An example of this is when he got home after staying the night (With his teacher) and his father beat him so bad he had to where an eye patch to school.
Split into simpler sentences: An example of this is when he got home after staying the night (with his teacher). His father beat him so badly he had to wear an eye patch to school.