Complex sentence: Beth does not want to be around Kumail, but Terry invites him to tag along as they meet with the hospital doctors who believe that Emily has an infection in her lungs and need to surgically remove it.
Split into simpler sentences: Beth does not want to be around Kumail, but Terry welcomes him. The doctors explain Emily has an infection in her lungs and need to surgically remove it.