How do you buy out part of a company?

You do not 'buy out' part of a company. You can buy in by investing money in a company by purchasing shares.