397 x 397 + 104 x 104 + 2 x 397 x 104 = ?
Given Exp.= $\left(397\right)$2 + $\left(104\right)$2 + 2 x 397 x 104
= $\left(397 + 104\right)$2= $\left(501\right)$2
= $\left(500 + 1\right)$2
= $\left(500\right)$ 2+$\left (1\right)$2 + $\left(2 \times 500 \times 1\right)$
= 250000 + 1 + 1000= 251001