find the number in an A.P such that the sum of 1st and 3rd term is 12 and the product of 1st and 2nd is 24

a + a+2d = 12

(a)(a+d) = 24

a=4, d=2

check:

4,6,8,10,...

4+8=12
4*6=24