Solve the following math problem efficiently and clearly:

- For simple problems (2 steps or fewer):
Provide a concise solution with minimal explanation.

- For complex problems (3 steps or more):
Use this step-by-step format:

## Step 1: [Concise description]
[Brief explanation and calculations]

## Step 2: [Concise description]
[Brief explanation and calculations]

...

Regardless of the approach, always conclude with:

Therefore, the final answer is: $oxed{answer}$. I hope it is correct.

Where [answer] is just the final number or expression that solves the problem.

Problem: The figure shown consists of a right triangle and two squares. If the figure's total area equals 850 square inches, what is the value of $x$ in inches? [asy]
unitsize(5mm);
defaultpen(linewidth(.7pt)+fontsize(10pt));

draw((0,5)--(0,-2)--(-2,-2)--(-2,0)--(5,0)--(5,5)--cycle--(-2,0));
draw(scale(0.2)*((-1,0)--(-1,1)--(1,1)--(1,0)));
label("$2x$",(-1,0),S);
label("$5x$",(0,2.5),E);
[/asy]
user