10. (18 points) Fill in the blanks with numbers $1 \sim 6$, so that each row, each column, and each palace does not repeat any number. The numbers outside the grid indicate the sum of all cells in the diagonal direction. Therefore, the five-digit number formed by the first 5 numbers from left to right in the fourth row is $\qquad$ .
【Solution】Solution: First, determine the numbers in the four corners, the numbers 7 and 5 outside the grid can determine the corresponding numbers. Then, using a similar method, the conclusion in the figure can be derived.

Therefore, the five-digit number formed by the first 5 numbers from left to right in the fourth row is 35126. Hence, the answer is 35126.