Depending on context/intention, that bus/pipe pictogram represents either an Ethernet layer-1 segment (classically) or a switched layer-2 segment (more modern variant).
A layer-1 segment is either created by a shared cable (for 10BASE5 or 10BASE2) or by a repeater hub. A layer-2 segment is created by a single switch or connected switches. It could also indicate a VLAN.
In your example, LAN 1 and LAN 2 can be represented by a switch or a VLAN each - no need to use multiple switches.