Complex sentence: Drilling fluid must be chemically compatible with the formation being drilled, salinity must be chosen so as not to cause clay swelling or other problems.
Split into simpler sentences: Drilling fluid must be chemically compatible with the formations being drilled. Salinity must be chosen so as not to cause clay swelling or other problems.