We don’t have a Samsung TV or a Moto E6 (we’re running Moto G6s). If your TV supports Wi-Fi Direct, you might be able to set up a connection between your phone and TV to view or play media from your phone by doing the following:
On your TV, set up Wi-Fi Direct. See your TV user guide for instructions. Devices that have Wi-Fi Direct can be connected with each other without any wireless network or Wi-Fi hotspot.
On your phone, go to Settings > Network & internet > Wi-Fi > Wi-Fi preferences.
Touch Advanced > Wi-Fi Direct.
You’ll see a list of enabled devices that are within range and compatible. Touch the TVs name to connect.
See if this works with your system. Others might have some suggestions too! We don’t cast or mirror much to our TV.