You may find a piece of donor carpet in a closet. if not then it will be very hard to match. The carpet and patch need to be cut out to the same size and shape, then put in place with carpet tape. There are a number of tricks of the trade to make that repair invisible, so a pro can be worthwhile, and carpet installers/repair are not overly expensive.