First check the owners manual of the TV. You may be able to use a built in app to do that.
If the tablet has HDMI out then use that.
If the tablet is MHL compatible then you will need a USB-HDMI converter for that tablet and an HDMI cable.
You can always get a Chromecast and stream from the table to that.
Since the TV is smart you may not need the table at all if the TV has the apps you want.