Yangshuo belongs to Guilin in administrative area. There are many shuttle buses between Guilin and Yangshuo, and there are also many minibuses bound for Yangshuo at Guilin Bus Station. It's very near, about 40 minutes away (this time has not been calculated specifically, although I have been there many times, but I am very young. I am from Guilin and have worked in other places for many years).
Yangshuo is famous for its mountains and rivers, and the famous Lijiang River scenic spot is in Yangshuo. If you go to Guilin, you must go to Yangshuo, otherwise you will go to Guilin for nothing.
There are also many scenic spots in downtown Guilin. I don't want to post other people's articles here. You can find local tourist information through online search.
I hope I can help you. If you have any questions, ask me.