Complex sentence: For example, in the time signature, each bar contains two (2) quarter-note (4) beats, and with the time signature, each bar contains two dotted-quarter-note beats.
Split into simpler sentences: For example, in the time signature, each bar contains two (2) quarter-note (4) beats. In the time signature, each bar contains two dotted-quarter-note beats.