If fan in of AND and OR gate is 2 then question will be more trickier and answer is 20 AND Gates, 10 OR Gates. Let’s see
For C1, one OR gate; For C2, two OR gates; For C3, three OR gates; For C4, four OR gates; So total 10 OR GATES. Now let’s look at AND Gates For 2 element product term, 1 AND gate; For 3 element product term, 2 AND gates; For 4 element product term, 3 AND gates; For 5 element product term, 4 AND gates; So including all C1, C2, C3, C4 we required 20 AND GATES.