CORRECT answer is option 1.The IDIOM the ins and outs means the details of something. The SENTENCE means that he KNOWS the details of his business.Few examples:It takes some time to learn the ins and outs of this chapter.Shanu knows the ins and outs of repairing computers.So the correct answer is option 1.