Complex sentence: He looks over the edge of the piano and spots Jerry playing the felts from inside, and to shut him up, whacks the mouse with a tuning tool.
Split into simpler sentences: He looks over the edge of the piano and spots Jerry playing the felts from inside. To shut him up, he whacks the mouse with a tuning tool.