TF mini lidar and servo

with an arduino uno I would like to acquire a distance thanks to a tf mini-lidar, then according to the measured distance, position a 0-180 servo at any angle. I admit I can’t do it. Would a good soul like to help me. My knowledge in c++ is close to … zero.
This is quite, of course, urgent.