Complex sentence: Joey is a pet squirrel that was owned by Pearl was friendly and had been trained to use a litter box.
Split into simpler sentences: Joey is a pet squirrel that was owned by Pearl. Joey was friendly and had been trained to use a litter box.