See the solution below in Explanation:
Sw10
Config t
no int po1
default int ran et0/0-2
int ran e0/0-2
switchport trunk encap dot1q
switchport mode trunk
channel-group 1 mode active
no shut
wr
Submit