Complex sentence: She inherited the Newhailes estate in East Lothian, Scotland, in 1792 (where she lived for forty-six years) but the title of Baronet passed to her cousin, James Dalrymple, who became 4th baronet, of Hailes.
Split into simpler sentences: She inherited the Newhailes estate in East Lothian, Scotland, in 1792 (where she lived for 46 years). The title of Baronet passed to her cousin, James Dalrymple, who became 4th baronet, of Hailes.