Complex sentence: The cobra effect occurs when an attempted solution to a problem actually makes it worse; an instance of unintended consequence (s).
Split into simpler sentences: The cobra effect occurs when an attempted solution to a problem actually makes the problem worse. This is an instance of unintended consequence (s).