Complex sentence: The main problem was extracting the coconut cream from the pulp which was a difficult task.
Split into simpler sentences: The main problem was extracting the coconut cream from the pulp. It was a difficult task.