Lets say that the two unknown integers are
![n](https://img.qammunity.org/2019/formulas/mathematics/high-school/u98o0n5r87kmrf87sepfzfho8c4geg07lg.png)
and
![m](https://img.qammunity.org/2019/formulas/physics/middle-school/hbuzeotuijzbt7at37fsbvthvy9dqjcpab.png)
.
We know the following things about
![n](https://img.qammunity.org/2019/formulas/mathematics/high-school/u98o0n5r87kmrf87sepfzfho8c4geg07lg.png)
and
![m](https://img.qammunity.org/2019/formulas/physics/middle-school/hbuzeotuijzbt7at37fsbvthvy9dqjcpab.png)
:
![n+m=26](https://img.qammunity.org/2019/formulas/mathematics/high-school/z32vubdabwk8yj8aw4o13xe1pqgdt9af7q.png)
![n^2+m^2=340](https://img.qammunity.org/2019/formulas/mathematics/high-school/60njmu9qvvzt5xs4bmpxf143gnx89c3qux.png)
And, we want to find
![nm](https://img.qammunity.org/2019/formulas/mathematics/high-school/9mvh0bpt4j8orf5aiukfsblr83hw0avdyf.png)
.
To solve this, we'll use the expansion of the squared of the sum of any two inegers; this is expressed as:
![(n+m)^2=n^2+2nm+m^2](https://img.qammunity.org/2019/formulas/mathematics/high-school/7pz58vb7xctls3mr88k1lt9al6qudp9sng.png)
So, given what we know about the unknown integers, the previous can be written as:
![(26)^2=340+2nm](https://img.qammunity.org/2019/formulas/mathematics/high-school/xd02esdohheoetpsaj26czozz5upslh2qz.png)
We can easily solve for
![nm](https://img.qammunity.org/2019/formulas/mathematics/high-school/9mvh0bpt4j8orf5aiukfsblr83hw0avdyf.png)
:
The answer is 168.
Another approach to solve the problem is, from the two starting equations, compute the values of
![n](https://img.qammunity.org/2019/formulas/mathematics/high-school/u98o0n5r87kmrf87sepfzfho8c4geg07lg.png)
and
![m](https://img.qammunity.org/2019/formulas/physics/middle-school/hbuzeotuijzbt7at37fsbvthvy9dqjcpab.png)
, which are 12 and 14, and directly compute their product; however, the approach described is more elegant.