(Multiply all by 3 )
7x+x=3+5x
8x=3+5x
3x=3
x=1
The Pythagoras Theorem is a^2 +b^2 = c^2 if this is true then you have a right triangle. So I think they are looking for side lengths in the first box.
| X | 1 | 2 | 4 | 5 | 10 |
| Y | 4 | 8 |16|20| 40 |
I think its 162 but i dont know so hope this helps sorry if it dont