In the table, the numbers in each row form an arithmetic sequence when read from left to right. Similarly, the numbers in each column form an arithmetic sequence when read from top to bottom. What is the sum of the digits of the value of $x$ ?

(An arithmetic sequence is a sequence in which each term

|  |  |  |  | 18 |
| :--- | :--- | :--- | :--- | :--- |
|  | 43 |  |  |  |
|  |  | 40 |  |  |
|  |  |  |  |  |
| $x$ |  |  | 26 |  |

after the first is obtained from the previous term by adding a constant. For example, $3,5,7,9$ are the first four terms of an arithmetic sequence.)
(A) 5
(B) 2
(C) 10
(D) 7
(E) 13