I assume you mean 3 nights each in two different locations? For specific walks and hike descriptions, you could look at the walking programs offered by HF Holidays for guidance and ideas. Just scroll down in the brochure to the itinerary for listings of the walks.
Meirionnydd coastal path walks:
https://www.hfholidays.co.uk/holidays-and-tours/best-of-the-meirionnydd-coast-path?format=pdf&vid=3691
Brecon Beacons:
https://www.hfholidays.co.uk/holidays-and-tours/4-night-brecon-beacons-guided-walking-holiday?format=pdf&vid=1099
Pembrokeshire Coast path:
https://www.hfholidays.co.uk/holidays-and-tours/best-of-the-pembrokeshire-coast?format=pdf&vid=45
For the Brecon Beacons, you might consider joining their self-guided holiday with room and board in their country house in the market town of Beacon, with access to their maps and guidebooks, and social time with other guests.
https://www.hfholidays.co.uk/holidays-and-tours/3-night-brecon-beacons-self-guided-walking-holiday
Or join the guided program, which includes group walks with a knowledgeable guide and transport to the trailheads and back. We have taken several of these holidays, and particularly enjoyed the educational aspect of the guided walks, and the camaraderie of the other guests.
https://www.hfholidays.co.uk/holidays-and-tours/3-night-brecon-beacons-guided-walking-holiday
As for the Three Castles walk, we did this a few years ago as a self-guided adventure we booked with Celtic Trails.
https://www.celtictrailswalkingholidays.co.uk/walking-holidays/castle-to-castle-the-three-castles-walk/
Part of it was on a section of Offa’s Dyke path. We stayed in a small bed and breakfast at Llangattock Lingoed, which is called a village but there really isn’t much there. Fortunately the country inn Hunters Moon has a great little restaurant, and we enjoyed fine dinners there on each of our three nights.
https://www.hunters-moon-inn.co.uk/
The walking was fun and the ruined castles were interesting, but I would not rate the scenery as spectacular; especially as compared tomwhat I have seen in photos of the coastal paths and the Brecon Beacons.