Question: how to connect two bluetooth devices?
Answer: Go to Settings > Connections > Bluetooth.
In Android Pie, tap Advanced. ... 
Turn on the Dual Audio toggle switch.
To use Dual Audio, pair the phone with two speakers, two headphones, or one of each, and audio will stream to both.
If you add a third, the first paired device will be booted off.