Purpose of Uniswap/Pancake Factory and Router, and integration in OpenZeppelin

can you be more specify about what method do you confuse? UniSwap already make a full documentation, you can refer to their website. PancakeSwap? do not expect to much.