Help me to do a question, find the rules and fill in the numbers 2 13 5 6 4 11 5 7 7 4 10 7 11 1 12 I've been working all morning, but I can't do it

Help me to do a question, find the rules and fill in the numbers 2 13 5 6 4 11 5 7 7 4 10 7 11 1 12 I've been working all morning, but I can't do it

= 10
The first column is N1, the second column is N2, the third column is N3, and the fourth column is N4
(n1 * 2 + n2 - n3)/ 2 = n4
First line: (2 * 2 + 13 - 5) / 2 = 6
Second line: (4 * 2 + 11 - 5) / 2 = 7
The third line: (7 * 2 + [10] - 4) / 2 = 10
The fourth line: (7 * 2 + 11 - 1) / 2 = 12
See