You need a USB-C cable that supports sending enough power and a display signal. A Thunderbolt 3 cable should work.
You could also use a USB-C extension cable that displays a display signal and enough power to increase the reach. I use this one: https://www.amazon.com/dp/B0BB13ZNPQ