What is the version of the following sentence with correct punctuation?

That agreement extends to having sexual relations with ones spouse and no one else Thus should wife Shirley establish this type of relationship with someone other than her husband Pete it is a violation of the agreement and resolutions of the marriage
That agreement extends to having sexual relations with one's spouse and no one else. Thus, should wife Shirley establish this type of relationship with someone other than her husband Pete, it is a violation of the agreement and resolutions of the marriage.