A train that chugs along the tracks passes by a river but it does not go through a tunnel

Simple
Compound
Complex
Compound complex

Simple: A train passes by a river.

Compound: A train passes by a river, but it does not go through a tunnel.

Complex: As the train chugs along the tracks, it passes by a river that does not go through a tunnel.

Compound-complex: The train, which chugs along the tracks, passes by a river, but it does not go through a tunnel.