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: What is the value of $x$ in the diagram?

[asy]

import olympiad;

draw((0,0)--(sqrt(3),0)--(0,sqrt(3))--cycle);

draw((0,0)--(-1,0)--(0,sqrt(3))--cycle);

label("8",(-1/2,sqrt(3)/2),NW);

label("$x$",(sqrt(3)/2,sqrt(3)/2),NE);

draw("$45^{\circ}$",(1.5,0),NW);

draw("$60^{\circ}$",(-0.9,0),NE);

draw(rightanglemark((0,sqrt(3)),(0,0),(sqrt(3),0),4));

[/asy]
user