The Layer 3 switch, D1, is connected to two hosts on different VLANs
PC1
is in
VLAN 10
PC2
VLAN 20
The Layer 3 switch will provide inter-VLAN routing services to the two hosts.