Hey there!
Area of square big: 25x^2
Area of square small: 4x^2
Area of triangle: (10x^2)/2=5x^2
From this we can just solve for x
850=25x^2 + 4x^2 +5x^2
850=34x^2
25=x^2
x=5 inches
Hope this helped :)