Complex sentence: Barney's third attempt results in a dislocated hip, but the sex was good enough to get Marshall a B + on his paper.
Split into simpler sentences: Barney's third attempt results in a dislocated hip. The sex was good enough to get Marshall a B + on his paper.