This is an articulated tram. Notice the small centre car supports the two outer bodies. This configuration is sometimes called, "two rooms & a bath".

Articulated Rail Cars – Transit 101

So boys and girls, lesson for today; what is an articulated car? Definition: Articulated cars are rail vehicles which consist of a number of cars which are semi-permanently attached to each other and share common Jacobs bogies or axles and/or have car elements without axles suspended by the neighbouring car elements. They are much longer [...]