All variables are available both uncomplemented and complemented. Find two solutions, each of which uses no more than three integrated circuit packages of NAND gates (4 twoinput or 3 three-input or 2 four-input gates per package). One solution must use only two- and three-input gates; the other must use at least 1 four-input gate package.