In their school days, they had one bed and one table in common; as students, they had two beds and two tables in the same room.
They had one bed in common. This was in their school days. They had one table in common. This was in their school days. They had two beds in the same room. This was as students. They had two tables in the same room. This was as students.