Complex sentence: The tramcars were all single-deck, of which 10 tramcars were designed for first class passengers and the others were for third class passengers.
Split into simpler sentences: The tramcars were all single-deck. Ten tramcars were designed for first class passengers and the others were for third class passengers.