If 24, x, and 6 form the first three terms of an arithmetic sequence
then which of the following is the value of x?
(1) 12
(3) 20
(2) 15
(4) 42